java.lang.Cloneable
public final class StackMapEntry
extends java.lang.Object
implements java.lang.Cloneable
StackMap
,
StackMapType
Constructor | Description |
---|---|
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) |
Modifier and Type | Method | 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.
|
StackMapEntry |
copy() |
|
void |
dump(java.io.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) |
|
java.lang.String |
toString() |
public 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)
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 setByteCodeOffset(int b)
public int getByteCodeOffset()
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 StackMapEntry 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.