public class StackEntry
extends java.lang.Object
This is written out as part of the StackMap attribute
Constructor | Description |
---|---|
StackEntry(StackEntryType type,
java.lang.String descriptor) |
|
StackEntry(StackEntryType type,
java.lang.String descriptor,
int newInstructionLocation) |
|
StackEntry(StackEntryType type,
java.lang.String descriptor,
ConstPool pool) |
Modifier and Type | Method | 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.Object
public 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.IOException
Copyright © 2018. All rights reserved.