FileDocCategorySizeDatePackage
Messager.javaAPI DocJava SE 5 API1904Fri Aug 26 14:55:14 BST 2005com.sun.mirror.apt

Messager

public interface Messager
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

Fields Summary
Constructors Summary
Methods Summary
public voidprintError(java.lang.String msg)
Prints an error message. Equivalent to printError(null, msg).

param
msg the message, or an empty string if none

public voidprintError(com.sun.mirror.util.SourcePosition pos, java.lang.String msg)
Prints an error message.

param
pos the position where the error occured, or null if it is unknown or not applicable
param
msg the message, or an empty string if none

public voidprintNotice(java.lang.String msg)
Prints a notice. Equivalent to printNotice(null, msg).

param
msg the message, or an empty string if none

public voidprintNotice(com.sun.mirror.util.SourcePosition pos, java.lang.String msg)
Prints a notice.

param
pos the position where the noticed occured, or null if it is unknown or not applicable
param
msg the message, or an empty string if none

public voidprintWarning(java.lang.String msg)
Prints a warning message. Equivalent to printWarning(null, msg).

param
msg the message, or an empty string if none

public voidprintWarning(com.sun.mirror.util.SourcePosition pos, java.lang.String msg)
Prints a warning message.

param
pos the position where the warning occured, or null if it is unknown or not applicable
param
msg the message, or an empty string if none