com.jeffpalm.basic.bytecode.base
Class Code_attribute_info

java.lang.Object
  extended by com.jeffpalm.basic.bytecode.base.Info
      extended by com.jeffpalm.basic.bytecode.base.attribute_info
          extended by com.jeffpalm.basic.bytecode.base.Code_attribute_info
All Implemented Interfaces:
ConstantFlags, Iattribute_info, ICode_attribute_info, IInfo

public class Code_attribute_info
extends attribute_info
implements ICode_attribute_info


Field Summary
 u4 attribute_length
           
 u2 attribute_name_index
           
 attribute_info[] attributes
           
 u2 attributes_count
           
 java.util.List code
           
 u4 code_length
           
 exception_table_info[] exception_table
           
 u2 exception_table_length
           
 u2 max_locals
           
 u2 max_stack
           
 
Fields inherited from class com.jeffpalm.basic.bytecode.base.attribute_info
bytecode, info
 
Fields inherited from interface com.jeffpalm.basic.bytecode.base.ConstantFlags
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
 
Constructor Summary
Code_attribute_info(u2 attribute_name_index, u4 attribute_length, u2 max_stack, u2 max_locals, u4 code_length, java.util.List code, u2 exception_table_length, exception_table_info[] exception_table, u2 attributes_count, attribute_info[] attributes)
           
 
Method Summary
 Iu2 attributes_count()
           
 Iattribute_info[] attributes()
           
 Iu4 code_length()
           
 Iu2 exception_table_length()
           
 Iexception_table_info[] exception_table()
           
 Iu2 max_locals()
           
 Iu2 max_stack()
           
 java.lang.String toString()
           
 
Methods inherited from class com.jeffpalm.basic.bytecode.base.attribute_info
attribute_length, attribute_name_index, bytecode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jeffpalm.basic.bytecode.Iattribute_info
attribute_length, attribute_name_index
 

Field Detail

attribute_name_index

public u2 attribute_name_index

attribute_length

public u4 attribute_length

max_stack

public u2 max_stack

max_locals

public u2 max_locals

code_length

public u4 code_length

code

public java.util.List code

exception_table_length

public u2 exception_table_length

exception_table

public exception_table_info[] exception_table

attributes_count

public u2 attributes_count

attributes

public attribute_info[] attributes
Constructor Detail

Code_attribute_info

public Code_attribute_info(u2 attribute_name_index,
                           u4 attribute_length,
                           u2 max_stack,
                           u2 max_locals,
                           u4 code_length,
                           java.util.List code,
                           u2 exception_table_length,
                           exception_table_info[] exception_table,
                           u2 attributes_count,
                           attribute_info[] attributes)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class attribute_info

max_stack

public Iu2 max_stack()
Specified by:
max_stack in interface ICode_attribute_info

max_locals

public Iu2 max_locals()
Specified by:
max_locals in interface ICode_attribute_info

code_length

public Iu4 code_length()
Specified by:
code_length in interface ICode_attribute_info

exception_table_length

public Iu2 exception_table_length()
Specified by:
exception_table_length in interface ICode_attribute_info

exception_table

public Iexception_table_info[] exception_table()
Specified by:
exception_table in interface ICode_attribute_info

attributes_count

public Iu2 attributes_count()
Specified by:
attributes_count in interface ICode_attribute_info

attributes

public Iattribute_info[] attributes()
Specified by:
attributes in interface ICode_attribute_info