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