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(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotationMirror,
javax.lang.model.element.ExecutableElement executableElement,
String s) |
Set<String> |
getSupportedAnnotationTypes() |
Set<String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnvironment) |
protected boolean |
isInitialized() |
abstract boolean |
process(Set<? extends javax.lang.model.element.TypeElement> typeElements,
RoundEnvironment roundEnvironment) |
protected ProcessingEnvironment processingEnv
protected boolean isInitialized()
public abstract boolean process(Set<? extends javax.lang.model.element.TypeElement> typeElements, RoundEnvironment roundEnvironment)
public Iterable<? extends Completion> getCompletions(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotationMirror, javax.lang.model.element.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 javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
public void init(ProcessingEnvironment processingEnvironment)
Copyright © 2017. All rights reserved.