public final class StackMapType
extends java.lang.Object
implements java.lang.Cloneable
StackMapEntry
,
StackMap
,
Constants
Constructor and Description |
---|
StackMapType(byte type,
int index,
ConstantPool constant_pool) |
Modifier and Type | Method and Description |
---|---|
StackMapType |
copy() |
void |
dump(java.io.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) |
java.lang.String |
toString() |
public StackMapType(byte type, int index, ConstantPool constant_pool)
type
- type tag as defined in the Constants interfaceindex
- index to constant pool, or byte code offsetpublic void setType(byte t)
public byte getType()
public void setIndex(int t)
public int getIndex()
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
file
- Output file streamjava.io.IOException
public final boolean hasIndex()
public final java.lang.String toString()
toString
in class java.lang.Object
public StackMapType copy()
public final ConstantPool getConstantPool()
public final void setConstantPool(ConstantPool constant_pool)
constant_pool
- Constant pool to be used for this object.