1 34 35 package org.logicalcobwebs.asm.tree; 36 37 import org.logicalcobwebs.asm.CodeVisitor; 38 39 43 44 public class FieldInsnNode 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 76 77 public FieldInsnNode ( 78 final int opcode, 79 final String owner, 80 final String name, 81 final String desc) 82 { 83 super(opcode); 84 this.owner = owner; 85 this.name = name; 86 this.desc = desc; 87 } 88 89 95 96 public void setOpcode (final int opcode) { 97 this.opcode = opcode; 98 } 99 100 public void accept (final CodeVisitor cv) { 101 cv.visitFieldInsn(opcode, owner, name, desc); 102 } 103 } 104 | Popular Tags |