public final class StackMap extends Attribute implements Node
Code
,
StackMapEntry
,
StackMapType
,
Serialized FormModifier and Type | Field and Description |
---|---|
private StackMapEntry[] |
map |
private int |
map_length |
constant_pool, length, name_index, tag
Constructor and Description |
---|
StackMap(int name_index,
int length,
DataInputStream file,
ConstantPool constant_pool)
Construct object from file stream.
|
StackMap(int name_index,
int length,
StackMapEntry[] map,
ConstantPool constant_pool) |
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.
|
Attribute |
copy(ConstantPool _constant_pool) |
void |
dump(DataOutputStream file)
Dump line number table attribute to file stream in binary format.
|
int |
getMapLength() |
StackMapEntry[] |
getStackMap() |
void |
setStackMap(StackMapEntry[] map) |
String |
toString() |
addAttributeReader, clone, getConstantPool, getLength, getNameIndex, getTag, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex
private int map_length
private StackMapEntry[] map
public StackMap(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool)
StackMap(int name_index, int length, DataInputStream file, ConstantPool constant_pool) throws IOException
name_index
- Index of namelength
- Content length in bytesfile
- Input streamconstant_pool
- Array of constantsIOException
public final void dump(DataOutputStream file) throws IOException
dump
in class Attribute
file
- Output file streamIOException
public final StackMapEntry[] getStackMap()
public final void setStackMap(StackMapEntry[] map)
map
- Array of stack map entriespublic final String toString()
public Attribute copy(ConstantPool _constant_pool)
public void accept(Visitor v)
public final int getMapLength()