org.apache.bcel.classfile
public final class StackMapEntry extends Object implements Cloneable
Version: $Id: StackMapEntry.java 386056 2006-03-15 11:31:56Z tcurdt $
See Also: StackMap StackMapType
| Field Summary | |
|---|---|
| int | byte_code_offset |
| ConstantPool | constant_pool |
| int | number_of_locals |
| int | number_of_stack_items |
| StackMapType[] | types_of_locals |
| StackMapType[] | types_of_stack_items |
| Constructor Summary | |
|---|---|
| StackMapEntry(DataInputStream file, ConstantPool constant_pool)
Construct object from file stream. | |
| StackMapEntry(int byte_code_offset, int number_of_locals, StackMapType[] types_of_locals, int number_of_stack_items, StackMapType[] types_of_stack_items, ConstantPool constant_pool) | |
| Method Summary | |
|---|---|
| void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
| StackMapEntry | copy() |
| void | dump(DataOutputStream file)
Dump stack map entry
|
| int | getByteCodeOffset() |
| ConstantPool | getConstantPool() |
| int | getNumberOfLocals() |
| int | getNumberOfStackItems() |
| StackMapType[] | getTypesOfLocals() |
| StackMapType[] | getTypesOfStackItems() |
| void | setByteCodeOffset(int b) |
| void | setConstantPool(ConstantPool constant_pool) |
| void | setNumberOfLocals(int n) |
| void | setNumberOfStackItems(int n) |
| void | setTypesOfLocals(StackMapType[] t) |
| void | setTypesOfStackItems(StackMapType[] t) |
| String | toString() |
Parameters: file Input stream
Throws: IOException
Parameters: v Visitor object
Returns: deep copy of this object
Parameters: file Output file stream
Throws: IOException
Returns: Constant pool used by this object.
Parameters: constant_pool Constant pool to be used for this object.
Returns: String representation.