@SupportedSourceVersion(value=RELEASE_6)
@SupportedAnnotationTypes(value="*")
@MetaInfServices(value=javax.annotation.processing.Processor.class)
public class AnnotationProcessorImpl
extends javax.annotation.processing.AbstractProcessor
Indexed annotations.| Constructor and Description |
|---|
AnnotationProcessorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(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,
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(Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
protected javax.lang.model.util.Elements getElementUtils()
public boolean process(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(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,
String name)
protected boolean isIndexing(javax.lang.model.element.TypeElement ann)
TypeElement that represents the annotation class,
determines whether to index this annotation.Copyright © 2004-2014. All Rights Reserved.