public final class LineNumber_info extends java.lang.Object implements java.lang.Cloneable, IClassFormatOutput
LineNumberTableAttribute_info
attribute. Each entry contains the
following items:
start_pcThe value of the start_pc item must indicate the index into the code array at which the code for a new line in the original source file begins. The value of start_pc must be less than the value of the code_length item of the
CodeAttribute_info
attribute of which this LineNumberTable
is an attribute.
line_numberThe value of the line_number item must give the corresponding line number in the original source file.
Modifier and Type | Field and Description |
---|---|
int |
m_line_number |
int |
m_start_pc |
Constructor and Description |
---|
LineNumber_info(int start_pc,
int line_number) |
LineNumber_info(UDataInputStream bytes) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Performs a deep copy.
|
java.lang.String |
toString() |
void |
writeInClassFormat(UDataOutputStream out) |
public LineNumber_info(int start_pc, int line_number)
LineNumber_info(UDataInputStream bytes) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public void writeInClassFormat(UDataOutputStream out) throws java.io.IOException
writeInClassFormat
in interface IClassFormatOutput
java.io.IOException