|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAnalysisReporter
An interface that analyses use for reporting problems. Crystal will create an instance of this interface and provide it to analyses for reporting errors that they find.
Nested Class Summary | |
---|---|
static class |
IAnalysisReporter.SEVERITY
The severity of a user problem being reported. |
Method Summary | |
---|---|
void |
clearMarkersForCompUnit(ITypeRoot compUnit)
For the given compilation unit, clear all the user problems which were reported, if necessary. |
PrintWriter |
debugOut()
|
void |
reportUserProblem(String problemDescription,
ASTNode node,
String analysisName)
Indicate that the running of this analysis on this compilation unit has created a problem. |
void |
reportUserProblem(String problemDescription,
ASTNode node,
String analysisName,
IAnalysisReporter.SEVERITY severity)
Indicate that the running of this analysis on this compilation unit has created a problem. |
PrintWriter |
userOut()
|
Method Detail |
---|
void reportUserProblem(String problemDescription, ASTNode node, String analysisName)
problemDescription
- A textual description of the problem.node
- The AST node where the problem was encountered.analysisName
- The name of the Crystal analysis that is reporting the problem.void reportUserProblem(String problemDescription, ASTNode node, String analysisName, IAnalysisReporter.SEVERITY severity)
problemDescription
- A textual description of the problem.node
- The AST node where the problem was encountered.analysisName
- The name of the Crystal analysis that is reporting the problem.severity
- The severity level of this problemPrintWriter debugOut()
PrintWriter userOut()
void clearMarkersForCompUnit(ITypeRoot compUnit)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |