| |
|
| java.lang.Object EDU.purdue.cs.bloat.file.Attribute EDU.purdue.cs.bloat.file.LocalVariableTable
LocalVariableTable | public LocalVariableTable(DataInputStream in, int index, int len) throws IOException(Code) | | Constructor. Create an attribute from a data stream.
Parameters: in - The data stream of the class file. Parameters: index - The index into the constant pool of the name of the attribute. Parameters: len - 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. |
locals | public LocalDebugInfo[] locals()(Code) | | Get the local variable debug info for the code.
The local variable debug info for the code. |
setLocals | public void setLocals(LocalDebugInfo[] locals)(Code) | | Set the local variable debug info for the code.
Parameters: locals - The local variable 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. |
|
|
|