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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) protected AnnotationMirror
findAnnotationOn
(Element e, String name) protected Elements
protected boolean
isIndexing
(TypeElement ann) Given aTypeElement
that represents the annotation class, determines whether to index this annotation.boolean
process
(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:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
execute
-
findAnnotationOn
-
isIndexing
Given aTypeElement
that represents the annotation class, determines whether to index this annotation.
-