public abstract class BaseProcessor
extends javax.annotation.processing.AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
disablePrintElementNameOption |
javax.lang.model.util.Elements |
elementUtils |
javax.annotation.processing.Filer |
filer |
javax.annotation.processing.Messager |
messager |
java.util.Map<java.lang.String,java.lang.String> |
options |
static java.lang.String |
printDetailsOption |
javax.lang.model.util.Types |
typeUtils |
| Constructor and Description |
|---|
BaseProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(javax.lang.model.element.Element e,
java.lang.String msg) |
void |
error(java.lang.String msg) |
void |
error(java.lang.String msg,
java.lang.Throwable e) |
void |
errorAPException(AnnotationProcessorException e) |
java.util.Set<java.lang.String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
protected void |
handleUnexpectedErrors(RunWithException f) |
void |
init(javax.annotation.processing.ProcessingEnvironment processingEnv) |
void |
note(javax.lang.model.element.Element e,
java.lang.String msg) |
void |
note(java.lang.String msg) |
void |
noteDetailed(javax.lang.model.element.Element e,
java.lang.String msg) |
void |
noteDetailed(java.lang.String msg) |
void |
warn(javax.lang.model.element.Element e,
java.lang.String msg) |
void |
warn(java.lang.String msg) |
public static java.lang.String printDetailsOption
public static java.lang.String disablePrintElementNameOption
public javax.annotation.processing.Filer filer
public javax.lang.model.util.Elements elementUtils
public javax.annotation.processing.Messager messager
public java.util.Map<java.lang.String,java.lang.String> options
public javax.lang.model.util.Types typeUtils
public void init(javax.annotation.processing.ProcessingEnvironment processingEnv)
init in interface javax.annotation.processing.Processorinit in class javax.annotation.processing.AbstractProcessorprotected void handleUnexpectedErrors(RunWithException f)
public void errorAPException(AnnotationProcessorException e)
public void noteDetailed(javax.lang.model.element.Element e,
java.lang.String msg)
public void noteDetailed(java.lang.String msg)
public void note(java.lang.String msg)
public void note(javax.lang.model.element.Element e,
java.lang.String msg)
public void warn(java.lang.String msg)
public void warn(javax.lang.model.element.Element e,
java.lang.String msg)
public void error(java.lang.String msg)
public void error(java.lang.String msg,
java.lang.Throwable e)
public void error(javax.lang.model.element.Element e,
java.lang.String msg)
public 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