public final class StackMapType extends Object implements Cloneable
StackMapEntry
,
StackMap
,
Const
Constructor and Description |
---|
StackMapType(byte type,
int index,
ConstantPool constant_pool) |
Modifier and Type | Method and Description |
---|---|
StackMapType |
copy() |
void |
dump(DataOutputStream file)
Dump type entries to file.
|
ConstantPool |
getConstantPool() |
int |
getIndex() |
byte |
getType() |
boolean |
hasIndex() |
void |
setConstantPool(ConstantPool constantPool) |
void |
setIndex(int t) |
void |
setType(byte t) |
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 StackMapType copy()
public void dump(DataOutputStream file) throws IOException
file
- Output file streamIOException
- if an I/O error occurs.public ConstantPool getConstantPool()
public int getIndex()
public byte getType()
public boolean hasIndex()
public void setConstantPool(ConstantPool constantPool)
constantPool
- Constant pool to be used for this object.public void setIndex(int t)
public void setType(byte t)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.