public InjectAnnotationProcessor2 createAnnotationProcessor()

in src/main/java/org/apache/sling/models/caconfig/impl/injectors/ContextAwareConfigurationInjector.java [73:80]


    public InjectAnnotationProcessor2 createAnnotationProcessor(AnnotatedElement element) {
        // check if the element has the expected annotation
        ContextAwareConfiguration annotation = getAnnotation(element);
        if (annotation != null) {
            return new ContextAwareConfigurationProcessor(annotation);
        }
        return null;
    }