Class FieldInjector<T>

    • Constructor Detail

      • FieldInjector

        public FieldInjector​(Value<?> target,
                             Field field)
        Deprecated.
        Construct a new instance.
        Parameters:
        target - the object whose field is to be updated
        field - the field to update
    • Method Detail

      • inject

        public void inject​(T value)
        Deprecated.
        Inject the given value.
        Specified by:
        inject in interface Injector<T>
        Parameters:
        value - the value
      • uninject

        public void uninject()
        Deprecated.
        Uninject the given value (in other words, cancel or undo a previous injection). Only called after inject() has been called.
        Specified by:
        uninject in interface Injector<T>