class ErrorReporter
extends java.lang.Object
AutoValue| Modifier and Type | Field and Description |
|---|---|
private javax.annotation.processing.Messager |
messager |
| Constructor and Description |
|---|
ErrorReporter(javax.annotation.processing.ProcessingEnvironment processingEnv) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
abortWithError(java.lang.String msg,
javax.lang.model.element.Element e)
Issue a compilation error and abandon the processing of this class.
|
(package private) void |
reportError(java.lang.String msg,
javax.lang.model.element.Element e)
Issue a compilation error.
|
(package private) void |
reportNote(java.lang.String msg,
javax.lang.model.element.Element e)
Issue a compilation note.
|
(package private) void |
reportWarning(java.lang.String msg,
javax.lang.model.element.Element e)
Issue a compilation warning.
|
ErrorReporter(javax.annotation.processing.ProcessingEnvironment processingEnv)
void reportNote(java.lang.String msg,
javax.lang.model.element.Element e)
msg - the text of the notee - the element to which it pertainsvoid reportWarning(java.lang.String msg,
javax.lang.model.element.Element e)
msg - the text of the warninge - the element to which it pertainsvoid reportError(java.lang.String msg,
javax.lang.model.element.Element e)
msg - the text of the warninge - the element to which it pertainsvoid abortWithError(java.lang.String msg,
javax.lang.model.element.Element e)
msg - the text of the errore - the element to which it pertains