Package ffx.utilities

Class 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
  • Constructor Details

    • PropertyProcessor

      public PropertyProcessor()
      Default constructor.
  • Method Details

    • process

      public boolean 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. 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 interface Processor
      Specified by:
      process in class AbstractProcessor