Package com.sun.tools.jxc.ap
Class AnnotationParser
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.sun.tools.jxc.ap.AnnotationParser
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("jakarta.xml.bind.annotation.*")
@SupportedOptions("jaxb.config")
public final class AnnotationParser
extends AbstractProcessor
This class behaves as a JAXB Annotation Processor,
It reads the user specified typeDeclarations
and the config files
It also reads config files
Used in unit tests
- Author:
- Bhakti Mehta ([email protected])
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(ProcessingEnvironment processingEnv) boolean
process
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
AnnotationParser
public AnnotationParser()Default constructor.
-
-
Method Details
-
init
- Specified by:
init
in interfaceProcessor
- Overrides:
init
in classAbstractProcessor
-
process
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-