org.jboss.classfilewriter.code
Class StackEntry
java.lang.Object
org.jboss.classfilewriter.code.StackEntry
public class StackEntry
- extends Object
represents the state of the stack or the local variable array.
This is written out as part of the StackMap attribute
- Author:
- Stuart Douglas
StackEntry
public StackEntry(StackEntryType type,
String descriptor)
StackEntry
public StackEntry(StackEntryType type,
String descriptor,
ConstPool pool)
StackEntry
public StackEntry(StackEntryType type,
String descriptor,
int newInstructionLocation)
getDescriptor
public String getDescriptor()
getNewInstructionLocation
public int getNewInstructionLocation()
getType
public StackEntryType getType()
toString
public String toString()
- Overrides:
toString
in class Object
of
public static StackEntry of(String descriptor,
ConstPool pool)
isWide
public boolean isWide()
write
public void write(DataOutputStream dstream)
throws IOException
- writes the entry to the stream
- Throws:
IOException
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.