com.jeffpalm.ajp.impl
Class Code_attribute_info

java.lang.Object
  extended by com.jeffpalm.ajp.impl.Info
      extended by com.jeffpalm.ajp.impl.attribute_info
          extended by com.jeffpalm.ajp.impl.Code_attribute_info
All Implemented Interfaces:
ConstantFlags, Dumpable

public class Code_attribute_info
extends attribute_info
implements Dumpable


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.jeffpalm.decompiler.Dumpable
Dumpable.Helper
 
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.ajp.impl.attribute_info
info
 
Fields inherited from interface com.jeffpalm.decompiler.Dumpable
HELPER
 
Fields inherited from interface com.jeffpalm.ajp.impl.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
 attribute_info attribute(ClassFile cf, java.lang.String name)
           
 void dumpTo(java.lang.StringBuffer str, ClassFile cf)
           
 LineNumberTableAttribute lineNumberTableAttribute(ClassFile cf)
           
 LocalVariableTableAttribute localVariableTableAttribute(ClassFile cf)
           
 java.lang.String toString(ClassFile cf)
           
 
Methods inherited from class com.jeffpalm.ajp.impl.Info
a, a, a, a, n, n, n, n, newlines, str, unroll, utf8String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

attribute

public attribute_info attribute(ClassFile cf,
                                java.lang.String name)

lineNumberTableAttribute

public LineNumberTableAttribute lineNumberTableAttribute(ClassFile cf)

localVariableTableAttribute

public LocalVariableTableAttribute localVariableTableAttribute(ClassFile cf)

toString

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

dumpTo

public void dumpTo(java.lang.StringBuffer str,
                   ClassFile cf)
Specified by:
dumpTo in interface Dumpable
Overrides:
dumpTo in class attribute_info