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("javax.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 (bhakti.mehta@sun.com)
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description AnnotationParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment processingEnv)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
-
-
-
Method Detail
-
init
public void init(ProcessingEnvironment processingEnv)
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
-