Modifier and Type | Field and Description |
---|---|
static StackMapType[] |
EMPTY_ARRAY |
Constructor and Description |
---|
StackMapType(byte type,
int index,
ConstantPool constantPool) |
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 index) |
void |
setType(byte type) |
String |
toString() |
public static final StackMapType[] EMPTY_ARRAY
public StackMapType(byte type, int index, ConstantPool constantPool)
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 index)
public void setType(byte type)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.