public final class StackMapTableEntry
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
StackMap
,
StackMapType
,
Serialized FormModifier and Type | Field and Description |
---|---|
private int |
byte_code_offset_delta |
private ConstantPool |
constant_pool |
private int |
frame_type |
private int |
number_of_locals |
private int |
number_of_stack_items |
private static long |
serialVersionUID |
private StackMapType[] |
types_of_locals |
private StackMapType[] |
types_of_stack_items |
Constructor and Description |
---|
StackMapTableEntry(java.io.DataInputStream file,
ConstantPool constant_pool)
Construct object from file stream.
|
StackMapTableEntry(int tag,
int byte_code_offset_delta,
int number_of_locals,
StackMapType[] types_of_locals,
int number_of_stack_items,
StackMapType[] types_of_stack_items,
ConstantPool constant_pool) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
StackMapTableEntry |
copy() |
void |
dump(java.io.DataOutputStream file)
Dump stack map entry
|
int |
getByteCodeOffsetDelta() |
ConstantPool |
getConstantPool() |
int |
getNumberOfLocals() |
int |
getNumberOfStackItems() |
StackMapType[] |
getTypesOfLocals() |
StackMapType[] |
getTypesOfStackItems() |
void |
setByteCodeOffsetDelta(int b) |
void |
setConstantPool(ConstantPool constant_pool) |
void |
setNumberOfLocals(int n) |
void |
setNumberOfStackItems(int n) |
void |
setTypesOfLocals(StackMapType[] t) |
void |
setTypesOfStackItems(StackMapType[] t) |
java.lang.String |
toString() |
private static final long serialVersionUID
private int frame_type
private int byte_code_offset_delta
private int number_of_locals
private StackMapType[] types_of_locals
private int number_of_stack_items
private StackMapType[] types_of_stack_items
private ConstantPool constant_pool
StackMapTableEntry(java.io.DataInputStream file, ConstantPool constant_pool) throws java.io.IOException
file
- Input streamjava.io.IOException
public StackMapTableEntry(int tag, int byte_code_offset_delta, int number_of_locals, StackMapType[] types_of_locals, int number_of_stack_items, StackMapType[] types_of_stack_items, ConstantPool constant_pool)
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
file
- Output file streamjava.io.IOException
public final java.lang.String toString()
toString
in class java.lang.Object
public void setByteCodeOffsetDelta(int b)
public int getByteCodeOffsetDelta()
public void setNumberOfLocals(int n)
public int getNumberOfLocals()
public void setTypesOfLocals(StackMapType[] t)
public StackMapType[] getTypesOfLocals()
public void setNumberOfStackItems(int n)
public int getNumberOfStackItems()
public void setTypesOfStackItems(StackMapType[] t)
public StackMapType[] getTypesOfStackItems()
public StackMapTableEntry copy()
public void accept(Visitor v)
v
- Visitor objectpublic final ConstantPool getConstantPool()
public final void setConstantPool(ConstantPool constant_pool)
constant_pool
- Constant pool to be used for this object.