|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EclipseMessager
Extend the APT Messager to allow the registrating of diagnostics on ast nodes.
| Field Summary | |
|---|---|
static int |
APT_PROBLEM_ID
Problem ID for APT problems that do not have quick fixes |
static int |
APT_QUICK_FIX_PROBLEM_ID
Problem ID for APT problems that have quick fixes. |
| Method Summary | |
|---|---|
void |
printError(ASTNode node,
String msg)
Print an error message on the given AST node. |
void |
printFixableError(SourcePosition pos,
String msg,
String pluginId,
String errorId)
Print an error including the given arguments for use in quick-fixes. |
void |
printFixableError(String msg,
String pluginId,
String errorId)
Print an error including the given arguments for use in quick-fixes. |
void |
printFixableNotice(SourcePosition pos,
String msg,
String pluginId,
String errorId)
Print a notice including the given arguments for use in quick-fixes. |
void |
printFixableNotice(String msg,
String pluginId,
String errorId)
Print a notice including the given arguments for use in quick-fixes. |
void |
printFixableWarning(SourcePosition pos,
String msg,
String pluginId,
String errorId)
Print a warning including the given arguments for use in quick-fixes. |
void |
printFixableWarning(String msg,
String pluginId,
String errorId)
Print a warning including the given arguments for use in quick-fixes. |
void |
printNotice(ASTNode node,
String msg)
Print a notice on the given AST node. |
void |
printWarning(ASTNode node,
String msg)
Print a warning on the given AST node. |
| Methods inherited from interface com.sun.mirror.apt.Messager |
|---|
printError, printError, printNotice, printNotice, printWarning, printWarning |
| Field Detail |
|---|
static final int APT_PROBLEM_ID
static final int APT_QUICK_FIX_PROBLEM_ID
| Method Detail |
|---|
void printError(ASTNode node,
String msg)
node - msg - the error message
IllegalArgumentException - if node or msg is null.
Also, if the node did not come from the ast in the environment.
void printWarning(ASTNode node,
String msg)
node - msg - the warning message
IllegalArgumentException - if node or msg is null.
Also, if the node did not come from the ast in the environment.
void printNotice(ASTNode node,
String msg)
node - msg - the warning message
IllegalArgumentException - if node or msg is null.
Also, if the node did not come from the ast in the environment.
void printFixableError(SourcePosition pos,
String msg,
String pluginId,
String errorId)
pos - position of the errormsg - message to display to the userpluginId - plugin which will provide an apt quick fix processor
for this error. Cannot be null.errorId - a plugin-provided error code which will be meaningful
to the quick fix processor (e.g. "invalidAnnotationValue", etc.)
Cannot be null.
void printFixableWarning(SourcePosition pos,
String msg,
String pluginId,
String errorId)
pos - position of the errormsg - message to display to the userpluginId - plugin which will provide an apt quick fix processor
for this error. Cannot be null.errorId - a plugin-provided error code which will be meaningful
to the quick fix processor (e.g. "invalidAnnotationValue", etc.)
Cannot be null.
void printFixableNotice(SourcePosition pos,
String msg,
String pluginId,
String errorId)
pos - position of the errormsg - message to display to the userpluginId - plugin which will provide an apt quick fix processor
for this error. Cannot be null.errorId - a plugin-provided error code which will be meaningful
to the quick fix processor (e.g. "invalidAnnotationValue", etc.)
Cannot be null.
void printFixableError(String msg,
String pluginId,
String errorId)
msg - message to display to the userpluginId - plugin which will provide an apt quick fix processor
for this error. Cannot be null.errorId - a plugin-provided error code which will be meaningful
to the quick fix processor (e.g. "invalidAnnotationValue", etc.)
Cannot be null.
void printFixableWarning(String msg,
String pluginId,
String errorId)
msg - message to display to the userpluginId - plugin which will provide an apt quick fix processor
for this error. Cannot be null.errorId - a plugin-provided error code which will be meaningful
to the quick fix processor (e.g. "invalidAnnotationValue", etc.)
Cannot be null.
void printFixableNotice(String msg,
String pluginId,
String errorId)
msg - message to display to the userpluginId - plugin which will provide an apt quick fix processor
for this error. Cannot be null.errorId - a plugin-provided error code which will be meaningful
to the quick fix processor (e.g. "invalidAnnotationValue", etc.)
Cannot be null.
|
Eclipse JDT Release 3.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||