public final class StackMap extends Attribute
StackMapTable_attribute { u2 attribute_name_index; u4 attribute_length; u2 number_of_entries; stack_map_frame entries[number_of_entries]; }
Code
,
StackMapEntry
,
StackMapType
constant_pool, EMPTY_ARRAY, length, name_index, tag
Constructor and Description |
---|
StackMap(int nameIndex,
int length,
StackMapEntry[] table,
ConstantPool constantPool) |
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.
|
Attribute |
copy(ConstantPool constantPool) |
void |
dump(DataOutputStream file)
Dump stack map table attribute to file stream in binary format.
|
int |
getMapLength() |
StackMapEntry[] |
getStackMap() |
void |
setStackMap(StackMapEntry[] table) |
String |
toString() |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex
public StackMap(int nameIndex, int length, StackMapEntry[] table, ConstantPool constantPool)
public void accept(Visitor v)
public Attribute copy(ConstantPool constantPool)
public void dump(DataOutputStream file) throws IOException
dump
in class Attribute
file
- Output file streamIOException
- if an I/O error occurs.public int getMapLength()
public StackMapEntry[] getStackMap()
public void setStackMap(StackMapEntry[] table)
table
- Array of stack map entriesCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.