Interface StaticInjectAnnotationProcessorFactory
-
@ConsumerType public interface StaticInjectAnnotationProcessorFactory
Factory forInjectAnnotationProcessorthat is evaluated once a sling model implementation class is registered. Whenever possible this interface should be favored aboveInjectAnnotationProcessorFactory2.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InjectAnnotationProcessor2createAnnotationProcessor(java.lang.reflect.AnnotatedElement element)
-
-
-
Method Detail
-
createAnnotationProcessor
InjectAnnotationProcessor2 createAnnotationProcessor(java.lang.reflect.AnnotatedElement element)
- Parameters:
element- the field or method which is annotated- Returns:
- a ModelAnnotationProcessor in case there is a known injector-specific annotation on the given element found otherwise null
-
-