This is written out as part of the StackMap attribute
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int | descriptorIndex
if this is OBJECT then this holds the const pool index |
| private final int | newInstructionLocation
if this is an unititialized bytecode then this holds the absolute position of the new instruction that created it |
| private final StackEntryType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public int | |
| public StackEntryType | |
| public boolean | |
| public static StackEntry | |
| public String | |
| public void |
| descriptor | back to summary |
|---|---|
| private final String descriptor | |
| descriptorIndex | back to summary |
|---|---|
| private final int descriptorIndex if this is OBJECT then this holds the const pool index | |
| newInstructionLocation | back to summary |
|---|---|
| private final int newInstructionLocation if this is an unititialized bytecode then this holds the absolute position of the new instruction that created it | |
| type | back to summary |
|---|---|
| private final StackEntryType type | |
| StackEntry | back to summary |
|---|---|
| public StackEntry(StackEntryType type, String descriptor) | |
| StackEntry | back to summary |
|---|---|
| public StackEntry(StackEntryType type, String descriptor, ConstPool pool) | |
| StackEntry | back to summary |
|---|---|
| public StackEntry(StackEntryType type, String descriptor, int newInstructionLocation) | |
| getDescriptor | back to summary |
|---|---|
| public String getDescriptor() | |
| getNewInstructionLocation | back to summary |
|---|---|
| public int getNewInstructionLocation() | |
| getType | back to summary |
|---|---|
| public StackEntryType getType() | |
| isWide | back to summary |
|---|---|
| public boolean isWide() | |
| of | back to summary |
|---|---|
| public static StackEntry of(String descriptor, ConstPool pool) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| write | back to summary |
|---|---|
| public void write(DataOutputStream dstream) throws IOException writes the entry to the stream | |