org.objectweb.asm.util.attrs

Class ASMStackMapAttribute

Implemented Interfaces:
ASMifiable

public class ASMStackMapAttribute
extends StackMapAttribute
implements ASMifiable

An ASMifiable StackMapAttribute sub class.

Author:
Eugene Kuleshov

Field Summary

Fields inherited from class org.objectweb.asm.attrs.StackMapAttribute

frames

Fields inherited from class org.objectweb.asm.Attribute

type

Method Summary

void
asmify(StringBuffer buf, String varName, Map labelNames)
Prints the ASM code to create an attribute equal to this attribute.
protected Attribute
read(ClassReader cr, int off, int len, char[] buf, int codeOff, Label[] labels)

Methods inherited from class org.objectweb.asm.attrs.StackMapAttribute

getFrame, getLabels, isCodeAttribute, isUnknown, read, toString, write

Methods inherited from class org.objectweb.asm.Attribute

getLabels, isCodeAttribute, isUnknown, read, write

Method Details

asmify

public void asmify(StringBuffer buf,
                   String varName,
                   Map labelNames)
Prints the ASM code to create an attribute equal to this attribute.
Specified by:
asmify in interface ASMifiable

Parameters:
buf - A buffer used for printing Java code.
varName - name of the variable in a printed code used to store attribute instance.
labelNames - map of label instances to their names.


read

protected Attribute read(ClassReader cr,
                         int off,
                         int len,
                         char[] buf,
                         int codeOff,
                         Label[] labels)
Overrides:
read in interface StackMapAttribute