Professional Documents
Culture Documents
PACKAGE
PREV CLASS
CLASS
NEXT CLASS
USE
TREE
FRAMES
DEPRECATED
NO FRAMES
INDEX
HELP
Java Platform
Standard Ed. 8
ALL CLASSES
compact3
javax.annotation.processing
Class AbstractProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
All Implemented Interfaces:
Processor
1.6
Field Summary
Fields
Modifier and Type
Constructor Summary
Constructors
Modifier
protected
AbstractProcessor()
Constructor for subclasses to call.
Method Summary
All Methods
Instance Methods
Abstract Methods
Concrete Methods
getSupportedAnnotationTypes()
If the processor class is annotated with
SupportedAnnotationTypes, return an
unmodifiable set with the same set of strings as
the annotation.
Set<String>
getSupportedOptions()
If the processor class is annotated with
SupportedOptions, return an unmodifiable set
with the same set of strings as the annotation.
SourceVersion
getSupportedSourceVersion()
If the processor class is annotated with
SupportedSourceVersion, return the source
version in the annotation.
void
init(ProcessingEnvironment processingEnv)
Initializes the processor with the processing
environment by setting the processingEnv field to
the value of the processingEnv argument.
protected boolean
isInitialized()
Returns true if this object has been initialized,
false otherwise.
abstract boolean
process(Set<? extends
TypeElement> annotations,
RoundEnvironment roundEnv)
Processes a set of annotation types on type
elements originating from the prior round and
Field Detail
processingEnv
Constructor Detail
AbstractProcessor
protected AbstractProcessor()
Constructor for subclasses to call.
Method Detail
getSupportedOptions
SupportedOptions
getSupportedAnnotationTypes
SupportedAnnotationTypes
getSupportedSourceVersion
SupportedSourceVersion, ProcessingEnvironment.getSourceVersion()
init
Throws:
process
whether or not the set of annotation types are claimed by this processor
getCompletions
isInitialized
OVERVIEW
PREV CLASS
PACKAGE
CLASS
NEXT CLASS
USE
TREE
FRAMES
DEPRECATED
NO FRAMES
INDEX
HELP
Java Platform
Standard Ed. 8
ALL CLASSES