@SupportedSourceVersion(value=RELEASE_6)
@SupportedAnnotationTypes(value="*")
@MetaInfServices(value=javax.annotation.processing.Processor.class)
public class AnnotationProcessorImpl
extends javax.annotation.processing.AbstractProcessor
Indexed annotations.| Modifier and Type | Class and Description |
|---|---|
private class |
AnnotationProcessorImpl.Use
Use of an annotation.
|
| Constructor and Description |
|---|
AnnotationProcessorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
protected javax.lang.model.element.AnnotationMirror |
findAnnotationOn(javax.lang.model.element.Element e,
java.lang.String name) |
protected javax.lang.model.util.Elements |
getElementUtils() |
protected boolean |
isIndexing(javax.lang.model.element.TypeElement ann)
Given a
TypeElement that represents the annotation class,
determines whether to index this annotation. |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
private void |
scan(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv,
java.util.Map<java.lang.String,AnnotationProcessorImpl.Use> output) |
protected javax.lang.model.util.Elements getElementUtils()
public 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 execute(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv)
protected javax.lang.model.element.AnnotationMirror findAnnotationOn(javax.lang.model.element.Element e,
java.lang.String name)
private void scan(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv,
java.util.Map<java.lang.String,AnnotationProcessorImpl.Use> output)
protected boolean isIndexing(javax.lang.model.element.TypeElement ann)
TypeElement that represents the annotation class,
determines whether to index this annotation.