Package com.oracle.truffle.dsl.processor
Class TruffleProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- com.oracle.truffle.dsl.processor.TruffleProcessor
-
- All Implemented Interfaces:
ProcessorContext.ProcessCallback
,javax.annotation.processing.Processor
@SupportedSourceVersion(RELEASE_7) public class TruffleProcessor extends javax.annotation.processing.AbstractProcessor implements ProcessorContext.ProcessCallback
THIS IS NOT PUBLIC API.
-
-
Constructor Summary
Constructors Constructor Description TruffleProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
callback(javax.lang.model.element.TypeElement template)
java.util.Set<java.lang.String>
getSupportedAnnotationTypes()
void
init(javax.annotation.processing.ProcessingEnvironment env)
boolean
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
-
-
-
Method Detail
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
- Specified by:
process
in interfacejavax.annotation.processing.Processor
- Specified by:
process
in classjavax.annotation.processing.AbstractProcessor
-
callback
public void callback(javax.lang.model.element.TypeElement template)
- Specified by:
callback
in interfaceProcessorContext.ProcessCallback
-
getSupportedAnnotationTypes
public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypes
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedAnnotationTypes
in classjavax.annotation.processing.AbstractProcessor
-
init
public void init(javax.annotation.processing.ProcessingEnvironment env)
- Specified by:
init
in interfacejavax.annotation.processing.Processor
- Overrides:
init
in classjavax.annotation.processing.AbstractProcessor
-
-