Class AnnotationProcessorImpl
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.jvnet.hudson.annotation_indexer.AnnotationProcessorImpl
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("*")
@MetaInfServices(javax.annotation.processing.Processor.class)
public class AnnotationProcessorImpl
extends AbstractProcessor
Creates indices of
Indexed annotations.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) protected AnnotationMirrorfindAnnotationOn(Element e, String name) protected Elementsprotected booleanisIndexing(TypeElement ann) Given aTypeElementthat represents the annotation class, determines whether to index this annotation.booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
AnnotationProcessorImpl
public AnnotationProcessorImpl()
-
-
Method Details
-
getElementUtils
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
execute
-
findAnnotationOn
-
isIndexing
Given aTypeElementthat represents the annotation class, determines whether to index this annotation.
-