javax.annotation.processing.Processor@SupportedAnnotationTypes("*")
@MetaInfServices(javax.annotation.processing.Processor.class)
public class AnnotationProcessorImpl
extends javax.annotation.processing.AbstractProcessor
Indexed annotations.| Constructor | Description |
|---|---|
AnnotationProcessorImpl() |
| Modifier and Type | Method | 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() |
|
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
|
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) |
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.AbstractProcessorpublic javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion 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)
protected boolean isIndexing(javax.lang.model.element.TypeElement ann)
TypeElement that represents the annotation class,
determines whether to index this annotation.Copyright © 2018. All rights reserved.