1 30 package org.objectweb.asm.tree; 31 32 import org.objectweb.asm.MethodVisitor; 33 34 39 public class IntInsnNode extends AbstractInsnNode { 40 41 44 public int operand; 45 46 53 public IntInsnNode(final int opcode, final int operand) { 54 super(opcode); 55 this.operand = operand; 56 } 57 58 64 public void setOpcode(final int opcode) { 65 this.opcode = opcode; 66 } 67 68 public void accept(final MethodVisitor mv) { 69 mv.visitIntInsn(opcode, operand); 70 } 71 72 public int getType() { 73 return INT_INSN; 74 } 75 } 76 | Popular Tags |