1 30 package com.tc.asm.tree; 31 32 import com.tc.asm.MethodVisitor; 33 34 40 public class MethodInsnNode extends AbstractInsnNode { 41 42 46 public String owner; 47 48 51 public String name; 52 53 56 public String desc; 57 58 69 public MethodInsnNode( 70 final int opcode, 71 final String owner, 72 final String name, 73 final String desc) 74 { 75 super(opcode); 76 this.owner = owner; 77 this.name = name; 78 this.desc = desc; 79 } 80 81 87 public void setOpcode(final int opcode) { 88 this.opcode = opcode; 89 } 90 91 public void accept(final MethodVisitor mv) { 92 mv.visitMethodInsn(opcode, owner, name, desc); 93 } 94 95 public int getType() { 96 return METHOD_INSN; 97 } 98 } | Popular Tags |