Interface InjectAnnotationProcessor2

    • Method Detail

      • getName

        String getName()
        Tries to get the name value from the annotation.
        Specified by:
        getName in interface InjectAnnotationProcessor
        Returns:
        the value to be used for the name or null, in which case the standard annotation or name derived from method/field should be used
      • getVia

        String getVia()
        Tries to get the via value from the annotation.
        Specified by:
        getVia in interface InjectAnnotationProcessor
        Returns:
        the value to be used for the via or null, in which case the standard annotation should be used
      • getInjectionStrategy

        InjectionStrategy getInjectionStrategy()
        Tries to get the information whether the injection is optional.
        Returns:
        REQUIRED if injection is mandatory, OPTIONAL if injection is optional or DEFAULT in which case the standard annotation/injection strategy should be used.