|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavafe.util.ErrorSet.StandardReporter
| Constructor Summary | |
ErrorSet.StandardReporter()
|
|
| Method Summary | |
void |
report(int severity,
int loc,
int length,
java.lang.String message)
Unified interface for reporting information - all messages to the user go through this method. |
void |
reportAssociatedInfo(int loc)
This method reports the location of an associated bit of information (e.g. the location of a referenced declaration) that goes with the most recent call of 'report'. |
void |
reportAssociatedInfo2(int loc,
ClipPolicy cp)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ErrorSet.StandardReporter()
| Method Detail |
public void report(int severity,
int loc,
int length,
java.lang.String message)
ErrorSet.Reporter
report in interface ErrorSet.Reporterseverity - - the severity of the condition: 0 for information
1 for warnings, 2 for errorsloc - - the location (as in @loc(javafe.util.Location))
referred to by the message; Location.NULL if the message
does not refer to any location in particularlength - - the length of the section of the line that should
be high-lighted; -1 if the length is not known.message - - the text message to be conveyed to the userpublic void reportAssociatedInfo(int loc)
ErrorSet.Reporter
reportAssociatedInfo in interface ErrorSet.Reporterloc - The Location of theassociated information
public void reportAssociatedInfo2(int loc,
ClipPolicy cp)
reportAssociatedInfo2 in interface ErrorSet.Reporter
|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||