Interface ComputedValue<T>


  • public interface ComputedValue<T>
    Provides an indirect, or computed, value. This is used for certain kinds of injection, where the exact value to be injected must be computed for each instance being instantiated, rather than for the class as a whole.
    See Also:
    PlasticField.injectComputed(ComputedValue)
    • Method Detail

      • get

        T get​(InstanceContext context)
        Computes or otherwise provides the value, given the instance's context.