Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Mirror API DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Messager
.
@Deprecated public interface Messager
A Messager provides the way for an annotation processor to report error messages, warnings, and other notices.
Modifier and Type | Method and Description |
---|---|
void |
printError(SourcePosition pos,
String msg)
Deprecated. Prints an error message. |
void |
printError(String msg)
Deprecated. Prints an error message. |
void |
printNotice(SourcePosition pos,
String msg)
Deprecated. Prints a notice. |
void |
printNotice(String msg)
Deprecated. Prints a notice. |
void |
printWarning(SourcePosition pos,
String msg)
Deprecated. Prints a warning message. |
void |
printWarning(String msg)
Deprecated. Prints a warning message. |
Method Detail |
---|
void printError(String msg)
msg
- the message, or an empty string if nonevoid 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 nonevoid 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 nonevoid 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 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010, Oracle Corporation. All rights reserved.