| |
|
| java.lang.Object EDU.purdue.cs.bloat.file.Attribute EDU.purdue.cs.bloat.file.LineNumberTable
LineNumberTable | public LineNumberTable(DataInputStream in, int nameIndex, int length) throws IOException(Code) | | Constructor. Create an attribute from a data stream.
Parameters: in - The data stream of the class file. Parameters: nameIndex - The index into the constant pool of the name of the attribute. Parameters: length - The length of the attribute, excluding the header. exception: IOException - If an error occurs while reading. |
length | public int length()(Code) | | Get the length of the attribute.
The length of the attribute. |
lineNumbers | public LineNumberDebugInfo[] lineNumbers()(Code) | | Get the line number debug info for the code.
The line number debug info for the code. |
setLineNumbers | public void setLineNumbers(LineNumberDebugInfo[] lineNumbers)(Code) | | Set the line number debug info for the code.
Parameters: lineNumbers - The line number debug info for the code. |
writeData | public void writeData(DataOutputStream out) throws IOException(Code) | | Write the attribute to a data stream.
Parameters: out - The data stream of the class file. exception: IOException - If an error occurs while writing. |
|
|
|