public class OperatorAnnotationProcessor extends AbstractOperatorAnnotationProcessor
environment
Constructor and Description |
---|
OperatorAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
protected CompileEnvironment |
createCompileEnvironment(ProcessingEnvironment processingEnv)
Creates a compile environment for this processing (for testing).
|
Iterable<? extends Completion> |
getCompletions(Element element,
AnnotationMirror annotation,
ExecutableElement member,
String userText) |
Set<String> |
getSupportedAnnotationTypes() |
protected Collection<CompileEnvironment.Support> |
getSupportedFeatures()
Returns the supported features.
|
protected void |
run(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv)
Runs this annotation processor.
|
getSupportedOptions, getSupportedSourceVersion, init, process
protected CompileEnvironment createCompileEnvironment(ProcessingEnvironment processingEnv)
AbstractOperatorAnnotationProcessor
createCompileEnvironment
in class AbstractOperatorAnnotationProcessor
processingEnv
- current processing environmentprotected Collection<CompileEnvironment.Support> getSupportedFeatures()
AbstractOperatorAnnotationProcessor
getSupportedFeatures
in class AbstractOperatorAnnotationProcessor
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
getCompletions
in interface Processor
getCompletions
in class AbstractOperatorAnnotationProcessor
protected void run(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
AbstractOperatorAnnotationProcessor
run
in class AbstractOperatorAnnotationProcessor
annotations
- the target operator annotationsroundEnv
- the processing round environmentCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.