Package com.adobe.acs.commons.mcp.form
Class DialogProviderAnnotationProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.adobe.acs.commons.mcp.form.DialogProviderAnnotationProcessor
-
- All Implemented Interfaces:
Processor
public class DialogProviderAnnotationProcessor extends AbstractProcessor
Processes the DialogProvider annotation, producing a corresponding OSGi service to provide the generated sling dialog resources. This annotation processor will skip any classes which do not identify their corresponding sling model either as part of the model annotation or by a property or getter method.
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description DialogProviderAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getSupportedAnnotationTypes()SourceVersiongetSupportedSourceVersion()booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, init, isInitialized
-
-
-
-
Method Detail
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
-