public final class Annotation
extends java.lang.Object
JavaRecognizer.attachAnnotations(java.util.List)
Constructor and Description |
---|
Annotation(int line,
java.lang.Object data)
Creates a new Annotation object.
|
public Annotation(int line, java.lang.Object data)
line
- the line number to which the annotation is attached.data
- the application specific annotation data.public java.lang.Object getData()
public void setLine(int line)
line
- line number (>= 1
).java.lang.IllegalArgumentException
- if line < 1
public int getLine()
>= 1
).
Submit a bug or feature.
For further information and documentation, visit the official Jalopy website.
This page generated: March 30 2013