|
Jalopy 1.0b11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.hunsicker.jalopy.language.Annotation
A class that wraps some application specific annotation data. It can be used to track the position information for things like debugger breakpoints, erroneous lines, and so on.
JavaRecognizer.attachAnnotations(java.util.List)| Constructor Summary | |
Annotation(int line,
java.lang.Object data)
Creates a new Annotation object. |
|
| Method Summary | |
java.lang.Object |
getData()
Returns the application specific annotation data. |
int |
getLine()
Returns the (1-based) line number where this annotation belongs. |
void |
setLine(int line)
Sets the line number where this annotation belongs. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Annotation(int line,
java.lang.Object data)
line - the line number to which the annotation is attached.data - the application specific annotation data.| Method Detail |
public java.lang.Object getData()
public void setLine(int line)
line - line number (>= 1).
java.lang.IllegalArgumentException - if line < 1public int getLine()
>= 1).
|
Jalopy 1.0b11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||