Package com.sun.tools.jxc.ap
Class AnnotationParser
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.sun.tools.jxc.ap.AnnotationParser
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedAnnotationTypes("javax.xml.bind.annotation.*") @SupportedOptions("jaxb.config") public final class AnnotationParser extends javax.annotation.processing.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)
-
-
Constructor Summary
Constructors Constructor Description AnnotationParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.SourceVersion
getSupportedSourceVersion()
void
init(javax.annotation.processing.ProcessingEnvironment processingEnv)
boolean
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
-
-
-
Method Detail
-
init
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
- Specified by:
init
in interfacejavax.annotation.processing.Processor
- Overrides:
init
in classjavax.annotation.processing.AbstractProcessor
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
- Specified by:
process
in interfacejavax.annotation.processing.Processor
- Specified by:
process
in classjavax.annotation.processing.AbstractProcessor
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedSourceVersion
in classjavax.annotation.processing.AbstractProcessor
-
-