1 30 package org.objectweb.asm.tree; 31 32 import org.objectweb.asm.Label; 33 import org.objectweb.asm.MethodVisitor; 34 35 38 public class LabelNode extends AbstractInsnNode { 39 40 public Label label; 41 42 public LabelNode(final Label label) { 43 super(-1); 44 this.label = label; 45 } 46 47 public void accept(final MethodVisitor cv) { 48 cv.visitLabel(label); 49 } 50 51 public int getType() { 52 return LABEL; 53 } 54 } | Popular Tags |