Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
printError, printError, printNotice, printNotice, printWarning, printWarning
static final int APT_PROBLEM_ID
static final int APT_QUICK_FIX_PROBLEM_ID
void printError(ASTNode node, String msg)
node
- msg
- the error messageIllegalArgumentException
- 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 messageIllegalArgumentException
- 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 messageIllegalArgumentException
- 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.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.