|
Mirror API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Messager
A Messager provides the way for an annotation processor to report error messages, warnings, and other notices.
| Method Summary | |
|---|---|
void |
printError(SourcePosition pos,
String msg)
Prints an error message. |
void |
printError(String msg)
Prints an error message. |
void |
printNotice(SourcePosition pos,
String msg)
Prints a notice. |
void |
printNotice(String msg)
Prints a notice. |
void |
printWarning(SourcePosition pos,
String msg)
Prints a warning message. |
void |
printWarning(String msg)
Prints a warning message. |
| Method Detail |
|---|
void printError(String msg)
msg - the message, or an empty string if none
void printError(SourcePosition pos,
String msg)
pos - the position where the error occured, or null if it is
unknown or not applicablemsg - the message, or an empty string if nonevoid printWarning(String msg)
msg - the message, or an empty string if none
void printWarning(SourcePosition pos,
String msg)
pos - the position where the warning occured, or null if it is
unknown or not applicablemsg - the message, or an empty string if nonevoid printNotice(String msg)
msg - the message, or an empty string if none
void printNotice(SourcePosition pos,
String msg)
pos - the position where the noticed occured, or null if it is
unknown or not applicablemsg - the message, or an empty string if none
|
Mirror API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||