union stack_map_frame {
same_frame;
same_locals_1_stack_item_frame;
same_locals_1_stack_item_frame_extended;
chop_frame;
same_frame_extended;
append_frame;
full_frame;
}
StackMap, StackMapType
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private ConstantPool | |
| pack-priv static final StackMapEntry[] | |
| private int | |
| private StackMapType[] | |
| private StackMapType[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | StackMapEntry(final DataInput
Input stream dataInput, final ConstantPool constantPool)Constructs object from input stream. |
| public | StackMapEntry(final int byteCodeOffset, final int
NOT USED numberOfLocals, final StackMapType[] array of typesOfLocals, final int StackMapTypes of localsNOT USED numberOfStackItems, final StackMapType[] array ot typesOfStackItems, final ConstantPool StackMapTypes of stack itemsthe constant pool constantPool)
Deprecated
Since 6.0, use
StackMapEntry(int, int, StackMapType[], StackMapType[], ConstantPool) instead
DO NOT USE |
| public | StackMapEntry(final int
the frameType to use tag, final int byteCodeOffset, final StackMapType[] array of typesOfLocals, final StackMapType[] StackMapTypes of localsarray ot typesOfStackItems, final ConstantPool StackMapTypes of stack itemsthe constant pool constantPool)Create an instance |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
| public StackMapEntry | |
| public void | |
| public int | |
| public ConstantPool | |
| public int | |
| pack-priv int | |
| public int | |
| public int | |
| public StackMapType[] | |
| public StackMapType[] | |
| private boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public String | Returns: String representation.Overrides java. Returns a string representation of the object. |
| public void | updateByteCodeOffset(final int
offset delta delta)Update the distance (as an offset delta) from this StackMap entry to the next. |
| byteCodeOffset | back to summary |
|---|---|
| private int byteCodeOffset | |
| constantPool | back to summary |
|---|---|
| private ConstantPool constantPool | |
| EMPTY_ARRAY | back to summary |
|---|---|
| pack-priv static final StackMapEntry[] EMPTY_ARRAY | |
| frameType | back to summary |
|---|---|
| private int frameType | |
| typesOfLocals | back to summary |
|---|---|
| private StackMapType[] typesOfLocals | |
| typesOfStackItems | back to summary |
|---|---|
| private StackMapType[] typesOfStackItems | |
| StackMapEntry | back to summary |
|---|---|
| pack-priv StackMapEntry(final DataInput dataInput, final ConstantPool constantPool) throws IOException Constructs object from input stream.
| |
| StackMapEntry | back to summary |
|---|---|
| public StackMapEntry(final int byteCodeOffset, final int numberOfLocals, final StackMapType[] typesOfLocals, final int numberOfStackItems, final StackMapType[] typesOfStackItems, final ConstantPool constantPool)
Deprecated Since 6.0, use DO NOT USE
| |
| StackMapEntry | back to summary |
|---|---|
| public StackMapEntry(final int tag, final int byteCodeOffset, final StackMapType[] typesOfLocals, final StackMapType[] typesOfStackItems, final ConstantPool constantPool) Create an instance
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) 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 StackMapEntry copy()
| |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream file) throws IOException Dump stack map entry
| |
| getByteCodeOffset | back to summary |
|---|---|
| public int getByteCodeOffset() | |
| getConstantPool | back to summary |
|---|---|
public ConstantPool getConstantPool()
| |
| getFrameType | back to summary |
|---|---|
| public int getFrameType() | |
| getMapEntrySize | back to summary |
|---|---|
| pack-priv int getMapEntrySize() Calculate stack map entry size | |
| getNumberOfLocals | back to summary |
|---|---|
| public int getNumberOfLocals() | |
| getNumberOfStackItems | back to summary |
|---|---|
| public int getNumberOfStackItems() | |
| getTypesOfLocals | back to summary |
|---|---|
| public StackMapType[] getTypesOfLocals() | |
| getTypesOfStackItems | back to summary |
|---|---|
| public StackMapType[] getTypesOfStackItems() | |
| invalidFrameType | back to summary |
|---|---|
| private boolean invalidFrameType(final int f) | |
| setByteCodeOffset | back to summary |
|---|---|
| public void setByteCodeOffset(final int newOffset) | |
| setConstantPool | back to summary |
|---|---|
public void setConstantPool(final ConstantPool constantPool)
| |
| setFrameType | back to summary |
|---|---|
| public void setFrameType(final int ft) | |
| setNumberOfLocals | back to summary |
|---|---|
| public void setNumberOfLocals(final int n)
Deprecated since 6.0
| |
| setNumberOfStackItems | back to summary |
|---|---|
| public void setNumberOfStackItems(final int n)
Deprecated since 6.0
| |
| setTypesOfLocals | back to summary |
|---|---|
| public void setTypesOfLocals(final StackMapType[] types) | |
| setTypesOfStackItems | back to summary |
|---|---|
| public void setTypesOfStackItems(final StackMapType[] types) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| updateByteCodeOffset | back to summary |
|---|---|
| public void updateByteCodeOffset(final int delta) Update the distance (as an offset delta) from this StackMap entry to the next. Note that this might cause the frame type to change. Note also that delta may be negative.
| |