Class CastingInjector<T>

    • Constructor Detail

      • CastingInjector

        public CastingInjector​(Injector<T> target,
                               Class<T> type)
        Deprecated.
        Construct a new instance.
        Parameters:
        target - the injection target
        type - the type to cast to
    • Method Detail

      • 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>