public final class LineNumber extends Object implements Cloneable, Node, Serializable
LineNumberTable,
Serialized Form| Constructor and Description |
|---|
LineNumber(int start_pc,
int line_number) |
LineNumber(LineNumber c)
Initialize from another object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
LineNumber |
copy() |
void |
dump(DataOutputStream file)
Dump line number/pc pair to file stream in binary format.
|
int |
getLineNumber() |
int |
getStartPC() |
void |
setLineNumber(int line_number) |
void |
setStartPC(int start_pc) |
String |
toString() |
public LineNumber(LineNumber c)
public LineNumber(int start_pc,
int line_number)
start_pc - Program Counter (PC) corresponds toline_number - line number in source filepublic void accept(Visitor v)
public final void dump(DataOutputStream file) throws IOException
file - Output file streamIOExceptionpublic final int getLineNumber()
public final int getStartPC()
public final void setLineNumber(int line_number)
line_number. - public final void setStartPC(int start_pc)
start_pc. - public final String toString()
public LineNumber copy()
Copyright © 2018–2021 mhoffrogge. All rights reserved.