| com.sun.mirror.apt.Messager
All known Subclasses: org.eclipse.jdt.apt.core.internal.env.MessagerImpl,
Messager | public interface Messager (Code) | | A Messager provides the way for
an annotation processor to report error messages, warnings, and
other notices.
author: Joseph D. Darcy author: Scott Seligman version: 1.2 04/07/27 since: 1.5 |
printError | void printError(String msg)(Code) | | Prints an error message.
Equivalent to printError(null, msg).
Parameters: msg - the message, or an empty string if none |
printError | void printError(SourcePosition pos, String msg)(Code) | | Prints an error message.
Parameters: pos - the position where the error occured, or null if it isunknown or not applicable Parameters: msg - the message, or an empty string if none |
printNotice | void printNotice(String msg)(Code) | | Prints a notice.
Equivalent to printNotice(null, msg).
Parameters: msg - the message, or an empty string if none |
printNotice | void printNotice(SourcePosition pos, String msg)(Code) | | Prints a notice.
Parameters: pos - the position where the noticed occured, or null if it isunknown or not applicable Parameters: msg - the message, or an empty string if none |
printWarning | void printWarning(String msg)(Code) | | Prints a warning message.
Equivalent to printWarning(null, msg).
Parameters: msg - the message, or an empty string if none |
printWarning | void printWarning(SourcePosition pos, String msg)(Code) | | Prints a warning message.
Parameters: pos - the position where the warning occured, or null if it isunknown or not applicable Parameters: msg - the message, or an empty string if none |
|
|