org.tentackle.annotations
Class AnalyzeProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.tentackle.annotations.AnalyzeProcessor
- All Implemented Interfaces:
- Processor
@SupportedAnnotationTypes(value="org.tentackle.annotations.Analyze")
@SupportedSourceVersion(value=RELEASE_6)
public class AnalyzeProcessor
- extends AbstractProcessor
Annotation Processor for the Analyze-annotation.
- Author:
- harald
|
Method Summary |
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 or not
these annotations are claimed by this processor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnalyzeProcessor
public AnalyzeProcessor()
- Creates the annotation processor for the
Analyze annotation.
process
public boolean process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv)
- Description copied from class:
javax.annotation.processing.AbstractProcessor
- Processes a set of annotation types on type elements
originating from the prior round and returns whether or not
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
- Parameters:
annotations - the annotation types requested to be processedroundEnv - environment for information about the current and prior round
- Returns:
- whether or not the set of annotations are claimed by this processor
Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de