org.apache.bcel.classfile
public final class StackMap extends Attribute implements Node
Version: $Id: StackMap.java 386056 2006-03-15 11:31:56Z tcurdt $
See Also: Code StackMapEntry StackMapType
| Field Summary | |
|---|---|
| StackMapEntry[] | map |
| int | map_length |
| Constructor Summary | |
|---|---|
| StackMap(int name_index, int length, StackMapEntry[] map, ConstantPool constant_pool) | |
| StackMap(int name_index, int length, DataInputStream file, ConstantPool constant_pool)
Construct object from file stream. | |
| Method Summary | |
|---|---|
| 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() |
Parameters: name_index Index of name length Content length in bytes file Input stream constant_pool Array of constants
Throws: IOException
Parameters: v Visitor object
Returns: deep copy of this attribute
Parameters: file Output file stream
Throws: IOException
Returns: Array of stack map entries
Parameters: map Array of stack map entries
Returns: String representation.