Class ValidatingAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.apache.sling.models.annotations.apt.ValidatingAnnotationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"javax.inject.Inject","org.apache.sling.models.annotations.injectorspecific.*"})
public class ValidatingAnnotationProcessor
extends AbstractProcessor
Annotation processor that implements compile-time validation for Sling Models
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
ValidatingAnnotationProcessor
public ValidatingAnnotationProcessor()
-
-
Method Details
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-