@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, isInitializedprotected Elements getElementUtils()
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorprotected 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-2017. All Rights Reserved.