public final class StackMap extends Attribute
Code
,
StackMapEntry
,
StackMapType
constant_pool, length, name_index, tag
Constructor and Description |
---|
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 stack map table attribute to file stream in binary format.
|
int |
getMapLength() |
StackMapEntry[] |
getStackMap() |
void |
setStackMap(StackMapEntry[] map) |
String |
toString() |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex
public StackMap(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool)
public void dump(DataOutputStream file) throws IOException
dump
in class Attribute
file
- Output file streamIOException
public StackMapEntry[] getStackMap()
public void setStackMap(StackMapEntry[] map)
map
- Array of stack map entriespublic String toString()
public Attribute copy(ConstantPool _constant_pool)
public void accept(Visitor v)
public int getMapLength()
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.