@SupportedAnnotationTypes(value="*") @MetaInfServices(value=javax.annotation.processing.Processor.class) public class AnnotationProcessorImpl extends AbstractProcessor
Indexed
annotations.processingEnv
Constructor and Description |
---|
AnnotationProcessorImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
protected AnnotationMirror |
findAnnotationOn(Element e,
String name) |
protected Elements |
getElementUtils() |
SourceVersion |
getSupportedSourceVersion() |
protected boolean |
isIndexing(TypeElement ann)
Given a
TypeElement that represents the annotation class,
determines whether to index this annotation. |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
protected Elements getElementUtils()
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
protected void execute(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
protected AnnotationMirror findAnnotationOn(Element e, String name)
protected boolean isIndexing(TypeElement ann)
TypeElement
that represents the annotation class,
determines whether to index this annotation.Copyright © 2004–2021. All rights reserved.