FileDocCategorySizeDatePackage
ASMEnclosingMethodAttribute.javaAPI DocGlassfish v2 API2885Thu Mar 02 11:51:18 GMT 2006oracle.toplink.libraries.asm.util.attrs

ASMEnclosingMethodAttribute

public class ASMEnclosingMethodAttribute extends EnclosingMethodAttribute implements ASMifiable
An {@link ASMifiable} {@link EnclosingMethodAttribute} sub class.
author
Eugene Kuleshov

Fields Summary
Constructors Summary
Methods Summary
public voidasmify(java.lang.StringBuffer buf, java.lang.String varName, java.util.Map labelNames)

    buf.append("EnclosingMethodAttribute ").append(varName)
    .append(" = new EnclosingMethodAttribute(\"")
    .append(owner).append("\",\"")
    .append(name).append("\",\"")
    .append(desc).append("\");\n");
  
protected oracle.toplink.libraries.asm.Attributeread(oracle.toplink.libraries.asm.ClassReader cr, int off, int len, char[] buf, int codeOff, oracle.toplink.libraries.asm.Label[] labels)

    EnclosingMethodAttribute attr = 
      (EnclosingMethodAttribute)super.read(
        cr, off, len, buf, codeOff, labels);
    
    ASMEnclosingMethodAttribute result = new ASMEnclosingMethodAttribute();
    result.owner = attr.owner;
    result.name = attr.name;
    result.desc = attr.desc;
    return result;