public final class StackMapEntry extends Object implements Node, Cloneable
StackMap,
StackMapType| Constructor and Description |
|---|
StackMapEntry(int byteCodeOffset,
int numberOfLocals,
StackMapType[] typesOfLocals,
int numberOfStackItems,
StackMapType[] typesOfStackItems,
ConstantPool constantPool)
Deprecated.
Since 6.0, use
StackMapEntry(int, int, StackMapType[], StackMapType[], ConstantPool) instead |
StackMapEntry(int tag,
int byteCodeOffset,
StackMapType[] typesOfLocals,
StackMapType[] typesOfStackItems,
ConstantPool constantPool)
Create an instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.
|
StackMapEntry |
copy() |
void |
dump(DataOutputStream file)
Dump stack map entry
|
int |
getByteCodeOffset() |
ConstantPool |
getConstantPool() |
int |
getFrameType() |
int |
getNumberOfLocals() |
int |
getNumberOfStackItems() |
StackMapType[] |
getTypesOfLocals() |
StackMapType[] |
getTypesOfStackItems() |
void |
setByteCodeOffset(int newOffset) |
void |
setConstantPool(ConstantPool constantPool) |
void |
setFrameType(int ft) |
void |
setNumberOfLocals(int n)
Deprecated.
since 6.0
|
void |
setNumberOfStackItems(int n)
Deprecated.
since 6.0
|
void |
setTypesOfLocals(StackMapType[] types) |
void |
setTypesOfStackItems(StackMapType[] types) |
String |
toString() |
void |
updateByteCodeOffset(int delta)
Update the distance (as an offset delta) from this StackMap entry to the next.
|
@Deprecated public StackMapEntry(int byteCodeOffset, int numberOfLocals, StackMapType[] typesOfLocals, int numberOfStackItems, StackMapType[] typesOfStackItems, ConstantPool constantPool)
StackMapEntry(int, int, StackMapType[], StackMapType[], ConstantPool) insteadbyteCodeOffset - numberOfLocals - NOT USEDtypesOfLocals - array of StackMapTypes of localsnumberOfStackItems - NOT USEDtypesOfStackItems - array ot StackMapTypes of stack itemsconstantPool - the constant poolpublic StackMapEntry(int tag, int byteCodeOffset, StackMapType[] typesOfLocals, StackMapType[] typesOfStackItems, ConstantPool constantPool)
tag - the frameType to usebyteCodeOffset - typesOfLocals - array of StackMapTypes of localstypesOfStackItems - array ot StackMapTypes of stack itemsconstantPool - the constant poolpublic void accept(Visitor v)
public StackMapEntry copy()
public void dump(DataOutputStream file) throws IOException
file - Output file streamIOException - if an I/O error occurs.public int getByteCodeOffset()
public ConstantPool getConstantPool()
public int getFrameType()
public int getNumberOfLocals()
public int getNumberOfStackItems()
public StackMapType[] getTypesOfLocals()
public StackMapType[] getTypesOfStackItems()
public void setByteCodeOffset(int newOffset)
public void setConstantPool(ConstantPool constantPool)
constantPool - Constant pool to be used for this object.public void setFrameType(int ft)
@Deprecated public void setNumberOfLocals(int n)
@Deprecated public void setNumberOfStackItems(int n)
public void setTypesOfLocals(StackMapType[] types)
public void setTypesOfStackItems(StackMapType[] types)
public void updateByteCodeOffset(int delta)
delta - offset deltaCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.