Class InjectorInfo


  • public class InjectorInfo
    extends java.lang.Object
    Container for information about a class that is to be generated.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      javax.lang.model.element.ExecutableElement injector
      The ExecutableElement corresponding to the injector method.
      java.lang.String reason
      The reason for the injection.
      MethodContainer target
      The MethodContainer corresponding to the target method.
      javax.lang.model.element.ExecutableElement targetStub
      The ExecutableElement corresponding to the target method stub.
    • Constructor Summary

      Constructors 
      Constructor Description
      InjectorInfo​(javax.lang.model.element.ExecutableElement injector, javax.lang.model.element.ExecutableElement targetStub, Target targetAnn, ProcessorOptions options)
      Public constructor.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • injector

        public final javax.lang.model.element.ExecutableElement injector
        The ExecutableElement corresponding to the injector method.
      • targetStub

        public final javax.lang.model.element.ExecutableElement targetStub
        The ExecutableElement corresponding to the target method stub.
      • reason

        public final java.lang.String reason
        The reason for the injection.
    • Constructor Detail

      • InjectorInfo

        public InjectorInfo​(javax.lang.model.element.ExecutableElement injector,
                            javax.lang.model.element.ExecutableElement targetStub,
                            Target targetAnn,
                            ProcessorOptions options)
        Public constructor.
        Parameters:
        injector - the injector ExecutableElement
        targetStub - the target ExecutableElement
        targetAnn - the relevant Target annotation
        options - the ProcessorOptions to be used