public class ElegantPacketProcessor
extends javax.annotation.processing.AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static javax.lang.model.util.Elements |
elementUtils |
static java.util.Map<java.lang.String,java.lang.String> |
options |
static java.lang.String |
printDetailsOption |
static javax.lang.model.util.Types |
typeUtils |
| Constructor and Description |
|---|
ElegantPacketProcessor() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
getSupportedAnnotationTypes() |
java.util.Set<java.lang.String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv) |
static void |
note(javax.lang.model.element.Element e,
java.lang.String msg) |
static void |
note(java.lang.String msg) |
boolean |
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv) |
static void |
warn(javax.lang.model.element.Element e,
java.lang.String msg) |
static void |
warn(java.lang.String msg) |
public static java.lang.String printDetailsOption
public static javax.lang.model.util.Types typeUtils
public static javax.lang.model.util.Elements elementUtils
public static java.util.Map<java.lang.String,java.lang.String> options
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init in interface javax.annotation.processing.Processorinit in class javax.annotation.processing.AbstractProcessorpublic boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment roundEnv)
process in interface javax.annotation.processing.Processorprocess in class javax.annotation.processing.AbstractProcessorpublic static void note(java.lang.String msg)
public static void warn(java.lang.String msg)
public static void note(javax.lang.model.element.Element e,
java.lang.String msg)
public static void warn(javax.lang.model.element.Element e,
java.lang.String msg)
public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface javax.annotation.processing.ProcessorgetSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessorpublic javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.ProcessorgetSupportedSourceVersion in class javax.annotation.processing.AbstractProcessorpublic java.util.Set<java.lang.String> getSupportedOptions()
getSupportedOptions in interface javax.annotation.processing.ProcessorgetSupportedOptions in class javax.annotation.processing.AbstractProcessor