@SupportedOptions(value={"guiceAnnotationDatabasePackageName","guiceUsesFragmentUtil","guiceCommentsInjector","annotatedClasses"})
public class ReflectionNoReflectionAnnotationProcessor
extends javax.annotation.processing.AbstractProcessor
AbstractProcessor that can be triggered for all kinds of annotations.
It will create a RNR database of annotated fields, methods and constuctors.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TEMPLATE_ANNOTATION_DATABASE_PATH |
| Constructor and Description |
|---|
ReflectionNoReflectionAnnotationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addToInjectedConstructors(java.lang.String annotationClassName,
java.lang.String typeElementName,
java.lang.String injectionPointName) |
protected void |
addToInjectedFields(java.lang.String annotationClassName,
java.lang.String typeElementName,
java.lang.String injectionPointName,
java.util.Set<javax.lang.model.element.Modifier> modifiers,
java.lang.String injectedClassName,
java.util.List<? extends javax.lang.model.element.AnnotationMirror> annotationMirrors) |
protected void |
addToInjectedMethods(java.lang.String annotationClassName,
java.lang.String typeElementName,
java.lang.String injectionPointName) |
protected void |
configure(ReflectionNoReflectionAnnotationDatabaseGenerator annotationDatabaseGenerator) |
protected ReflectionNoReflectionAnnotationDatabaseGenerator |
createAnnotationDatabaseGenerator() |
java.util.Set<java.lang.String> |
getSupportedAnnotationTypes() |
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) |
public static final java.lang.String TEMPLATE_ANNOTATION_DATABASE_PATH
public ReflectionNoReflectionAnnotationProcessor()
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init in interface javax.annotation.processing.Processorinit in class javax.annotation.processing.AbstractProcessorpublic boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv)
process in interface javax.annotation.processing.Processorprocess in class javax.annotation.processing.AbstractProcessorprotected void configure(ReflectionNoReflectionAnnotationDatabaseGenerator annotationDatabaseGenerator)
protected void addToInjectedConstructors(java.lang.String annotationClassName,
java.lang.String typeElementName,
java.lang.String injectionPointName)
protected void addToInjectedMethods(java.lang.String annotationClassName,
java.lang.String typeElementName,
java.lang.String injectionPointName)
protected void addToInjectedFields(java.lang.String annotationClassName,
java.lang.String typeElementName,
java.lang.String injectionPointName,
java.util.Set<javax.lang.model.element.Modifier> modifiers,
java.lang.String injectedClassName,
java.util.List<? extends javax.lang.model.element.AnnotationMirror> annotationMirrors)
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion in class javax.annotation.processing.AbstractProcessorpublic java.util.Set<java.lang.String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface javax.annotation.processing.ProcessorgetSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessorprotected ReflectionNoReflectionAnnotationDatabaseGenerator createAnnotationDatabaseGenerator()