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 null
public void rethrow()
process(Set, RoundEnvironment)
only if it exists.public void init(ProcessingEnvironment processingEnv)
public Set<String> getSupportedOptions()
getSupportedOptions
in interface Processor
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface Processor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
public Iterable<? extends Completion> getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
getCompletions
in interface Processor
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.