@SupportedAnnotationTypes(value={"com.oracle.truffle.api.Option","com.oracle.truffle.api.Option.Group"}) public class OptionProcessor extends AbstractProcessor
Option. An OptionDescriptors
implementation is generated for each top level class containing at least one such field. The name
of the generated class for top level class com.foo.Bar is
com.foo.Bar_OptionDescriptors.processingEnv| Constructor and Description |
|---|
OptionProcessor() |
| Modifier and Type | Method and Description |
|---|---|
SourceVersion |
getSupportedSourceVersion() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitializedpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface ProcessorgetSupportedSourceVersion in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessor