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 implicitely
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 new_offset) |
void |
setConstantPool(ConstantPool constant_pool) |
void |
setFrameType(int f) |
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 StackMapType
s of localsnumberOfStackItems
- NOT USEDtypesOfStackItems
- array ot StackMapType
s of stack itemsconstantPool
- the constant poolpublic StackMapEntry(int tag, int byteCodeOffset, StackMapType[] typesOfLocals, StackMapType[] typesOfStackItems, ConstantPool constantPool)
tag
- the frame_type to usebyteCodeOffset
- typesOfLocals
- array of StackMapType
s of localstypesOfStackItems
- array ot StackMapType
s of stack itemsconstantPool
- the constant poolpublic final void dump(DataOutputStream file) throws IOException
file
- Output file streamIOException
public final String toString()
public void setFrameType(int f)
public int getFrameType()
public void setByteCodeOffset(int new_offset)
public void updateByteCodeOffset(int delta)
delta
- offset deltapublic int getByteCodeOffset()
@Deprecated public void setNumberOfLocals(int n)
public int getNumberOfLocals()
public void setTypesOfLocals(StackMapType[] types)
public StackMapType[] getTypesOfLocals()
@Deprecated public void setNumberOfStackItems(int n)
public int getNumberOfStackItems()
public void setTypesOfStackItems(StackMapType[] types)
public StackMapType[] getTypesOfStackItems()
public StackMapEntry copy()
public void accept(Visitor v)
public final ConstantPool getConstantPool()
public final void setConstantPool(ConstantPool constant_pool)
constant_pool
- Constant pool to be used for this object.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.