1 package sli.kim.classfile; 2 3 8 public class FieldInfo extends CommonInfo { 9 private String signature; 10 private Object constValue; 11 private boolean synthetic; 12 13 public FieldInfo(short accessFlags, String name, String signature) { 14 setAccessFlags(accessFlags); 15 setName(name); 16 setSignature(signature); 17 } 18 19 24 public void setSignature(String signature) { 25 this.signature = signature; 26 } 27 28 33 public String getSignature() { 34 return signature; 35 } 36 37 41 public void setConstantValue(Object constValue) { 42 this.constValue = constValue; 43 } 44 45 49 public Object getConstantValue() { 50 return constValue; 51 } 52 53 public void setSynthetic(boolean synthetic) { 54 this.synthetic = synthetic; 55 } 56 57 public boolean isSynthetic() { 58 return synthetic; 59 } 60 } 61 | Popular Tags |