org.objectweb.asm.attrs
Class StackMapFrame

java.lang.Object
  extended byorg.objectweb.asm.attrs.StackMapFrame

public class StackMapFrame
extends Object

StackMapFrame is used by StackMapAttribute to hold state of the stack and local variables for a single execution branch. Note that Long and Double types are represented by two entries in locals and stack. Second entry sohould be always of type Top.

Author:
Eugene Kuleshov
See Also:
JSR 139 : Connected Limited Device Configuration 1.1

Field Summary
 Label label
           
 List locals
           
 List stack
           
 
Constructor Summary
StackMapFrame()
           
 
Method Summary
static void declareLabel(StringBuffer buf, Map labelNames, Label l)
           
 void dump(StringBuffer buf, String varName, Map labelNames)
           
 void getLabels(Set labels)
           
 int read(ClassReader cr, int off, char[] buf, int codeOff, Label[] labels)
           
 String toString()
           
 void write(ClassWriter cw, int maxStack, int maxLocals, ByteVector bv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

label

public Label label

locals

public List locals

stack

public List stack
Constructor Detail

StackMapFrame

public StackMapFrame()
Method Detail

read

public int read(ClassReader cr,
                int off,
                char[] buf,
                int codeOff,
                Label[] labels)

write

public void write(ClassWriter cw,
                  int maxStack,
                  int maxLocals,
                  ByteVector bv)

getLabels

public void getLabels(Set labels)

dump

public void dump(StringBuffer buf,
                 String varName,
                 Map labelNames)

declareLabel

public static void declareLabel(StringBuffer buf,
                                Map labelNames,
                                Label l)

toString

public String toString()