Modifier and Type | Field and Description |
---|---|
protected ProcessingEnvironment |
processingEnv |
Modifier | Constructor and Description |
---|---|
protected |
AbstractProcessor() |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends Completion> |
getCompletions(Element element,
AnnotationMirror annotationMirror,
ExecutableElement executableElement,
String s) |
Set<String> |
getSupportedAnnotationTypes() |
Set<String> |
getSupportedOptions() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnvironment) |
protected boolean |
isInitialized() |
abstract boolean |
process(Set<? extends TypeElement> typeElements,
RoundEnvironment roundEnvironment) |
protected ProcessingEnvironment processingEnv
protected boolean isInitialized()
public abstract boolean process(Set<? extends TypeElement> typeElements, RoundEnvironment roundEnvironment)
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotationMirror, ExecutableElement executableElement, String s)
getCompletions
in interface Processor
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface Processor
public Set<String> getSupportedOptions()
getSupportedOptions
in interface Processor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
public void init(ProcessingEnvironment processingEnvironment)
Copyright © 2016. All rights reserved.