Modifier and Type | Field and Description |
---|---|
static String[] |
supportedAnnotations |
Constructor and Description |
---|
PJAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends javax.annotation.processing.Completion> |
getCompletions(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotation,
javax.lang.model.element.ExecutableElement member,
String userText) |
Set<String> |
getSupportedAnnotationTypes() |
Set<String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment env) |
Void |
visitExecutable(javax.lang.model.element.ExecutableElement d,
Void v) |
Void |
visitType(javax.lang.model.element.TypeElement d,
Void v) |
Void |
visitVariable(javax.lang.model.element.VariableElement v,
Void arg1) |
scan, scan, scan, visitPackage, visitTypeParameter
public static final String[] supportedAnnotations
public boolean process(Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment env)
process
in interface javax.annotation.processing.Processor
public Iterable<? extends javax.annotation.processing.Completion> getCompletions(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotation, javax.lang.model.element.ExecutableElement member, String userText)
getCompletions
in interface javax.annotation.processing.Processor
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init
in interface javax.annotation.processing.Processor
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface javax.annotation.processing.Processor
public Set<String> getSupportedOptions()
getSupportedOptions
in interface javax.annotation.processing.Processor