org.apache.bcel.classfile
public final class StackMapType extends Object implements Cloneable
See Also: StackMapEntry StackMap Constants
Constructor Summary | |
---|---|
StackMapType(byte type, int index, ConstantPool constant_pool) |
Method Summary | |
---|---|
StackMapType | copy() |
void | dump(DataOutputStream file)
Dump type entries to file.
|
ConstantPool | getConstantPool() |
int | getIndex() |
byte | getType() |
boolean | hasIndex() |
void | setConstantPool(ConstantPool constant_pool) |
void | setIndex(int t) |
void | setType(byte t) |
String | toString() |
Parameters: type type tag as defined in the Constants interface index index to constant pool, or byte code offset
Returns: deep copy of this object
Parameters: file Output file stream
Throws: IOException
Returns: Constant pool used by this object.
Returns: index to constant pool if type == ITEM_Object, or offset in byte code, if type == ITEM_NewObject, and -1 otherwise
Returns: true, if type is either ITEM_Object or ITEM_NewObject
Parameters: constant_pool Constant pool to be used for this object.
Returns: String representation