Package ffx.utilities
Class PropertyProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
ffx.utilities.PropertyProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"ffx.utilities.FFXProperty","ffx.utilities.FFXProperties"})
@SupportedOptions("propertyDir")
@SupportedSourceVersion(RELEASE_21)
public class PropertyProcessor
extends AbstractProcessor
Log out FFXProperty Annotations for documentation purposes.
- Author:
- Michael J. Schnieders
-
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) Processes a set of annotation types on type elements originating from the prior round and returns whether these annotations are claimed by this processor.Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
-
Constructor Details
-
PropertyProcessor
public PropertyProcessor()Default constructor.
-
-
Method Details
-
process
Processes a set of annotation types on type elements originating from the prior round and returns whether these annotations are claimed by this processor. If true is returned, the annotations are claimed and subsequent processors will not be asked to process them; if false is returned, the annotations are unclaimed and subsequent processors may be asked to process them. A processor may always return the same boolean value or may vary the result based on chosen criteria. The input set will be empty if the processor supports "*" and the root elements have no annotations. A Processor must gracefully handle an empty set of annotations.- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-