1 34 35 package org.logicalcobwebs.asm.tree; 36 37 import org.logicalcobwebs.asm.CodeVisitor; 38 39 43 44 public class MethodInsnNode extends AbstractInsnNode { 45 46 50 51 public String owner; 52 53 56 57 public String name; 58 59 62 63 public String desc; 64 65 77 78 public MethodInsnNode ( 79 final int opcode, 80 final String owner, 81 final String name, 82 final String desc) 83 { 84 super(opcode); 85 this.owner = owner; 86 this.name = name; 87 this.desc = desc; 88 } 89 90 96 97 public void setOpcode (final int opcode) { 98 this.opcode = opcode; 99 } 100 101 public void accept (final CodeVisitor cv) { 102 cv.visitMethodInsn(opcode, owner, name, desc); 103 } 104 } 105 | Popular Tags |