Public Methods | |
Code (int name_index, int length, int max_stack, int max_locals, byte[] code, CodeException[] exception_table, Attribute[] attributes, ConstantPool constant_pool) | |
Code (Code c) | |
void | accept (Visitor v) |
Attribute | copy (ConstantPool constant_pool) |
final void | dump (DataOutputStream file) throws IOException |
final Attribute[] | getAttributes () |
final byte[] | getCode () |
final CodeException[] | getExceptionTable () |
LineNumberTable | getLineNumberTable () |
LocalVariableTable | getLocalVariableTable () |
final int | getMaxLocals () |
final int | getMaxStack () |
final void | setAttributes (Attribute[] attributes) |
final void | setCode (byte[] code) |
final void | setExceptionTable (CodeException[] exception_table) |
final void | setMaxLocals (int max_locals) |
final void | setMaxStack (int max_stack) |
final String | toString () |
final String | toString (boolean verbose) |
Code (int name_index, int length, int max_stack, int max_locals, byte[] code, CodeException[] exception_table, Attribute[] attributes, ConstantPool constant_pool) | |
Code (Code c) | |
void | accept (Visitor v) |
Attribute | copy (ConstantPool constant_pool) |
final void | dump (DataOutputStream file) throws IOException |
final Attribute[] | getAttributes () |
final byte[] | getCode () |
final CodeException[] | getExceptionTable () |
LineNumberTable | getLineNumberTable () |
LocalVariableTable | getLocalVariableTable () |
final int | getMaxLocals () |
final int | getMaxStack () |
final void | setAttributes (Attribute[] attributes) |
final void | setCode (byte[] code) |
final void | setExceptionTable (CodeException[] exception_table) |
final void | setMaxLocals (int max_locals) |
final void | setMaxStack (int max_stack) |
final String | toString () |
final String | toString (boolean verbose) |
Private Methods | |
Code (int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException | |
final int | calculateLength () |
final int | getInternalLength () |
Code (int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException | |
final int | calculateLength () |
final int | getInternalLength () |
Private Attributes | |
int | max_stack |
int | max_locals |
int | code_length |
byte[] | code |
int | exception_table_length |
CodeException[] | exception_table |
int | attributes_count |
Attribute[] | attributes |
byte[] | code |
CodeException[] | exception_table |
Attribute[] | attributes |
This attribute has attributes itself, namely LineNumberTable which is used for debugging purposes and LocalVariableTable which contains information about the local variables.
Definition at line 24 of file lib/jpf/de/fub/bytecode/classfile/Code.java.
|
Definition at line 45 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 67 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy. Definition at line 107 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 45 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 67 of file src/de/fub/bytecode/classfile/Code.java. |
|
Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy. Definition at line 107 of file src/de/fub/bytecode/classfile/Code.java. |
|
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
Reimplemented from Attribute. Definition at line 119 of file src/de/fub/bytecode/classfile/Code.java. |
|
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
Reimplemented from Attribute. Definition at line 119 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 126 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 126 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Reimplemented from Attribute. Definition at line 137 of file src/de/fub/bytecode/classfile/Code.java. |
|
Reimplemented from Attribute. Definition at line 137 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Dump code attribute to file stream in binary format.
Reimplemented from Attribute. Definition at line 158 of file src/de/fub/bytecode/classfile/Code.java. |
|
Dump code attribute to file stream in binary format.
Reimplemented from Attribute. Definition at line 158 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 179 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 179 of file lib/jpf/de/fub/bytecode/classfile/Code.java. Referenced by Code(), MethodGen::MethodGen(), and CodeHTML::writeMethod().
|
|
Definition at line 183 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 183 of file lib/jpf/de/fub/bytecode/classfile/Code.java. Referenced by Code(), MethodGen::MethodGen(), and CodeHTML::writeMethod().
|
|
Definition at line 188 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 188 of file lib/jpf/de/fub/bytecode/classfile/Code.java. Referenced by Code(), and MethodGen::MethodGen().
|
|
Definition at line 193 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 193 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 203 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 203 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 213 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 213 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 223 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 223 of file lib/jpf/de/fub/bytecode/classfile/Code.java. Referenced by Code(), and MethodGen::MethodGen().
|
|
Definition at line 228 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 228 of file lib/jpf/de/fub/bytecode/classfile/Code.java. Referenced by Code(), and MethodGen::MethodGen().
|
|
Definition at line 232 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 232 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 240 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 240 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 247 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 247 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 255 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 255 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 261 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 261 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 273 of file src/de/fub/bytecode/classfile/Code.java. |
|
Reimplemented from Attribute. Definition at line 267 of file src/de/fub/bytecode/classfile/Code.java. |
|
Definition at line 273 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |
|
Reimplemented from Attribute. Definition at line 267 of file lib/jpf/de/fub/bytecode/classfile/Code.java. |