1 34 35 package org.logicalcobwebs.asm.tree; 36 37 import org.logicalcobwebs.asm.ClassVisitor; 38 import org.logicalcobwebs.asm.Attribute; 39 40 43 44 public class FieldNode { 45 46 50 51 public int access; 52 53 56 57 public String name; 58 59 62 63 public String desc; 64 65 71 72 public Object value; 73 74 77 78 public Attribute attrs; 79 80 96 97 public FieldNode ( 98 final int access, 99 final String name, 100 final String desc, 101 final Object value, 102 final Attribute attrs) 103 { 104 this.access = access; 105 this.name = name; 106 this.desc = desc; 107 this.value = value; 108 this.attrs = attrs; 109 } 110 111 116 117 public void accept (final ClassVisitor cv) { 118 cv.visitField(access, name, desc, value, attrs); 119 } 120 } 121 | Popular Tags |