@SupportedAnnotationTypes(value="ftbsc.geb.api.annotations.Listen")
public class GEBProcessor
extends javax.annotation.processing.AbstractProcessor
annotation processor
,
which takes care of generating the dispatchers
.Constructor and Description |
---|
GEBProcessor() |
Modifier and Type | Method and Description |
---|---|
javax.lang.model.SourceVersion |
getSupportedSourceVersion()
Sets the supported source version to the latest one.
|
void |
init(javax.annotation.processing.ProcessingEnvironment env)
Initializes the processor with the given environment.
|
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment env)
The starting point of the processor.
|
public void init(javax.annotation.processing.ProcessingEnvironment env)
init
in interface javax.annotation.processing.Processor
init
in class javax.annotation.processing.AbstractProcessor
env
- the environmentpublic boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment env)
processListener(Element)
on all elements annotated with
the Listen
annotation.process
in interface javax.annotation.processing.Processor
process
in class javax.annotation.processing.AbstractProcessor
annotations
- the annotation types requested to be processedenv
- environment for information about the current and prior roundpublic javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface javax.annotation.processing.Processor
getSupportedSourceVersion
in class javax.annotation.processing.AbstractProcessor