Class OptionProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.oracle.truffle.dsl.processor.OptionProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"com.oracle.truffle.api.Option","com.oracle.truffle.api.Option.Group"})
public class OptionProcessor
extends AbstractProcessor
Processes static fields annotated with 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.-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Constructor Details
-
OptionProcessor
public OptionProcessor()
-
-
Method Details
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-