LineNumberTable
Modifier and Type | Field and Description |
---|---|
pack-priv static final LineNumber[] | |
private int | lineNumber
number in source file |
private int | startPc
Program Counter (PC) corresponds to line |
Access | Constructor and Description |
---|---|
pack-priv | |
public | LineNumber(final int
Program Counter (PC) corresponds to startPc, final int line number in source file lineNumber)
|
public |
Modifier and Type | Method and Description |
---|---|
public void | accept(final Visitor
Visitor object v)Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
public LineNumber | |
public void | dump(final DataOutputStream
Output file stream file)Dump line number/pc pair to file stream in binary format. |
public int | |
public int | |
public void | |
public void | |
public String | Returns: String representationOverrides java. Returns a string representation of the object. |
EMPTY_ARRAY | back to summary |
---|---|
pack-priv static final LineNumber[] EMPTY_ARRAY |
lineNumber | back to summary |
---|---|
private int lineNumber number in source file |
startPc | back to summary |
---|---|
private int startPc Program Counter (PC) corresponds to line |
LineNumber | back to summary |
---|---|
pack-priv LineNumber(final DataInput file) throws IOException Construct object from file stream.
|
LineNumber | back to summary |
---|---|
public LineNumber(final int startPc, final int lineNumber)
|
LineNumber | back to summary |
---|---|
public LineNumber(final LineNumber c) Initialize from another object.
|
accept | back to summary |
---|---|
public void accept(final Visitor v) Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. |
copy | back to summary |
---|---|
public LineNumber copy()
|
dump | back to summary |
---|---|
public void dump(final DataOutputStream file) throws IOException Dump line number/pc pair to file stream in binary format.
|
getLineNumber | back to summary |
---|---|
public int getLineNumber()
|
getStartPC | back to summary |
---|---|
public int getStartPC()
|
setLineNumber | back to summary |
---|---|
public void setLineNumber(final int lineNumber)
|
setStartPC | back to summary |
---|---|
public void setStartPC(final int startPc)
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- |