| Constructor and Description |
|---|
SafeProcessor(Processor delegate)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends Completion> |
getCompletions(Element element,
AnnotationMirror annotation,
ExecutableElement member,
String userText) |
Set<String> |
getSupportedAnnotationTypes() |
Set<String> |
getSupportedOptions() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
void |
rethrow()
Throws the exception occurred while running
process(Set, RoundEnvironment) only if it exists. |
public SafeProcessor(Processor delegate)
delegate - the delegation targetIllegalArgumentException - if the parameter is nullpublic void rethrow()
process(Set, RoundEnvironment) only if it exists.public void init(ProcessingEnvironment processingEnv)
public Set<String> getSupportedOptions()
getSupportedOptions in interface Processorpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface Processorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface Processorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
getCompletions in interface ProcessorCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.