class CLLineNumberInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
lineNumber
line_number_table_entry.line_number item.
|
int |
startPC
line_number_table_entry.start_pc item.
|
Constructor and Description |
---|
CLLineNumberInfo(int startPC,
int lineNumber)
Construct a CLLineNumberInfo object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Return true if this LineNumber_info object is "equal to" the specified
LineNumber_info object, false otherwise.
|
void |
write(CLOutputStream out)
Write the contents of this object to the specified output stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the contents of this object to STDOUT in a format similar to that
of javap.
|
public int startPC
public int lineNumber
public CLLineNumberInfo(int startPC, int lineNumber)
startPC
- line_number_table_entry.start_pc item.lineNumber
- line_number_table_entry.line_number item.public void write(CLOutputStream out) throws IOException
out
- output stream.IOException
- if an error occurs while writing.public boolean equals(Object obj)
public void writeToStdOut(PrettyPrinter p)
p
- for pretty printing with indentation.