StackMapTable_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 number_of_entries;
stack_map_frame entries[number_of_entries];
}
Code, StackMapEntry, StackMapType
| Modifier and Type | Field and Description |
|---|---|
| private StackMapEntry[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | StackMap(final int
Index of name nameIndex, final int Content length in bytes length, final DataInput Input stream dataInput, final ConstantPool Array of constants constantPool)Constructs object from input stream. |
| public | StackMap(final int nameIndex, final int length, final StackMapEntry[] table, final ConstantPool constantPool)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
| public Attribute | copy(final ConstantPool constantPool)
Implements abstract com. Returns: deep copy of this attribute |
| public void | dump(final DataOutputStream
Output file stream file)Overrides com. Dump stack map table attribute to file stream in binary format. |
| public int | |
| public StackMapEntry[] | |
| public void | |
| public String | Returns: String representation.Overrides com. Returns a string representation of the object. |
| table | back to summary |
|---|---|
| private StackMapEntry[] table | |
| StackMap | back to summary |
|---|---|
| pack-priv StackMap(final int nameIndex, final int length, final DataInput dataInput, final ConstantPool constantPool) throws IOException Constructs object from input stream.
| |
| StackMap | back to summary |
|---|---|
| public StackMap(final int nameIndex, final int length, final StackMapEntry[] table, final ConstantPool constantPool) | |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. | |
| copy | back to summary |
|---|---|
| public Attribute copy(final ConstantPool constantPool) Implements abstract com. | |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream file) throws IOException Overrides com. Dump stack map table attribute to file stream in binary format.
| |
| getMapLength | back to summary |
|---|---|
| public int getMapLength() | |
| getStackMap | back to summary |
|---|---|
public StackMapEntry[] getStackMap()
| |
| setStackMap | back to summary |
|---|---|
public void setStackMap(final StackMapEntry[] table)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |