org.datanucleus.enhancer
Class EnhancerProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.datanucleus.enhancer.EnhancerProcessor
- All Implemented Interfaces:
- javax.annotation.processing.Processor
@SupportedAnnotationTypes(value="*")
@SupportedSourceVersion(value=RELEASE_5)
@SupportedOptions(value="enhanceAPI")
public class EnhancerProcessor
- extends javax.annotation.processing.AbstractProcessor
Enhance classes after javac.
PS. This only works for classes that are annotated. If you have a class that is defined in XML yet has
no annotations then it will not be discovered by this process.
| Fields inherited from class javax.annotation.processing.AbstractProcessor |
processingEnv |
|
Method Summary |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv)
|
boolean |
process(Set<? extends javax.lang.model.element.TypeElement> arg0,
javax.annotation.processing.RoundEnvironment roundEnv)
|
| Methods inherited from class javax.annotation.processing.AbstractProcessor |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_API
public static final String OPTION_API
- See Also:
- Constant Field Values
EnhancerProcessor
public EnhancerProcessor()
- Default public constructor
init
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
- Specified by:
init in interface javax.annotation.processing.Processor- Overrides:
init in class javax.annotation.processing.AbstractProcessor
process
public boolean process(Set<? extends javax.lang.model.element.TypeElement> arg0,
javax.annotation.processing.RoundEnvironment roundEnv)
- Specified by:
process in interface javax.annotation.processing.Processor- Specified by:
process in class javax.annotation.processing.AbstractProcessor
Copyright © 2012. All Rights Reserved.