java.lang.Object
javax.annotation.processing.AbstractProcessor
uk.autores.processing.ResourceFilesProcessor
- All Implemented Interfaces:
Processor
Processes classpath resource files and passes them to
Handler.handle(Context).-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSupported annotations.ReturnsProcessingEnvironment.getSourceVersion()or the minimumSourceVersion.RELEASE_11.booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) ConsumesResourceFilesandRepeatableResourcesand passes derived information to the specifiedHandler.Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, init, isInitialized
-
Constructor Details
-
ResourceFilesProcessor
public ResourceFilesProcessor()Public constructor as per contract
-
-
Method Details
-
getSupportedSourceVersion
ReturnsProcessingEnvironment.getSourceVersion()or the minimumSourceVersion.RELEASE_11.- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor- Returns:
- current source version
-
getSupportedAnnotationTypes
Supported annotations.- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor- Returns:
ResourceFilesandRepeatableResources
-
process
ConsumesResourceFilesandRepeatableResourcesand passes derived information to the specifiedHandler.- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor- Parameters:
annotations- the annotation types requested to be processedroundEnv- environment for information about the current and prior round- Returns:
- true if annotation consumed
-