Class Injector.Target<T>

  • Type Parameters:
    T - the annotation type
    Enclosing class:
    Injector<T extends java.lang.annotation.Annotation>

    public static class Injector.Target<T>
    extends java.lang.Object
    The Target class describes the target injection point.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      T annotation
      The passed annotation for this Injector
      java.lang.reflect.Member member
      The member to be injected, either a Method or Field
      java.lang.reflect.Type primaryType
      The primary type.
      java.lang.Object target
      The target object being injected
      java.lang.reflect.Type type
      The type for which to get a value
    • Constructor Summary

      Constructors 
      Constructor Description
      Target()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • annotation

        public T annotation
        The passed annotation for this Injector
      • member

        public java.lang.reflect.Member member
        The member to be injected, either a Method or Field
      • primaryType

        public java.lang.reflect.Type primaryType
        The primary type. This is the type of the first argument of a method or the type of a field
      • type

        public java.lang.reflect.Type type
        The type for which to get a value
      • target

        public java.lang.Object target
        The target object being injected
    • Constructor Detail

      • Target

        public Target()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object