All Packages Class Hierarchy This Package Previous Next Index
Class BIT.lowBIT.Code_Attribute
java.lang.Object
|
+----BIT.lowBIT.Attribute_Info
|
+----BIT.lowBIT.Code_Attribute
- public class Code_Attribute
- extends Attribute_Info
One of the attributes that represents the code inside a method.
This attribute contains the actual code buffer as well as information
about exception tables.
- See Also:
- Attribute_Info
-
attribute_count
- attribute_count indicates the number of attributes in attributes array.
-
attributes
-
attributes is an array of attribute_info.
-
code
- code array is the code (what else? :).
-
code_length
-
code-length indicates the number of bytes in the code array for this
method.
-
exception_table_length
- exception_table_length indicates the number of entries in the
exception_table table.
-
exceptions
- exceptions is an array of exception_table.
-
max_locals
-
max_locals indicates the number of local vairables used by this method.
-
max_stack
- max_stack indicates the maximum number of words on the operand
statck at any point during execution of this method.
-
Code_Attribute(Cp_Info[], DataInputStream, short)
- Parses this attribute given a DataInputStream.
-
write(Cp_Info[], DataOutputStream)
- Given an output stream, it outputs its data to that output stream.
max_stack
public short max_stack
- max_stack indicates the maximum number of words on the operand
statck at any point during execution of this method.
max_locals
public short max_locals
- max_locals indicates the number of local vairables used by this method.
code_length
public int code_length
- code-length indicates the number of bytes in the code array for this
method.
code
public byte code[]
- code array is the code (what else? :).
exception_table_length
public short exception_table_length
- exception_table_length indicates the number of entries in the
exception_table table.
exceptions
public Exception_Table exceptions[]
- exceptions is an array of exception_table.
- See Also:
- Exception_Table
attribute_count
public short attribute_count
- attribute_count indicates the number of attributes in attributes array.
attributes
public Attribute_Info attributes[]
- attributes is an array of attribute_info.
- See Also:
- Attribute_Info
Code_Attribute
public Code_Attribute(Cp_Info constant_pool[],
DataInputStream iStream,
short attribute_name_index) throws IOException
- Parses this attribute given a DataInputStream.
- Parameters:
- constant - pool table for the class
- DataInputStream - to be parsed
- the - index of this attribute into the constant pool
write
public void write(Cp_Info constant_pool[],
DataOutputStream oStream) throws IOException
- Given an output stream, it outputs its data to that output stream.
- Parameters:
- constant - pool table
- output - stream where to output the data
All Packages Class Hierarchy This Package Previous Next Index