public class StackEntry extends Object
This is written out as part of the StackMap attribute
| Constructor | Description |
|---|---|
StackEntry(StackEntryType type,
String descriptor) |
|
StackEntry(StackEntryType type,
String descriptor,
int newInstructionLocation) |
|
StackEntry(StackEntryType type,
String descriptor,
ConstPool pool) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getDescriptor() |
|
int |
getNewInstructionLocation() |
|
StackEntryType |
getType() |
|
boolean |
isWide() |
|
static StackEntry |
of(String descriptor,
ConstPool pool) |
|
String |
toString() |
|
void |
write(DataOutputStream dstream) |
writes the entry to the stream
|
public StackEntry(StackEntryType type, String descriptor)
public StackEntry(StackEntryType type, String descriptor, ConstPool pool)
public StackEntry(StackEntryType type, String descriptor, int newInstructionLocation)
public String getDescriptor()
public int getNewInstructionLocation()
public StackEntryType getType()
public static StackEntry of(String descriptor, ConstPool pool)
public boolean isWide()
public void write(DataOutputStream dstream) throws IOException
IOExceptionCopyright © 2018. All rights reserved.