1 package ch.ethz.prose.jvmai.jikesrvm.stub_weaver; 2 3 import com.ibm.JikesRVM.VM_JVMAI; 4 import java.lang.reflect.Field ; 5 import ch.ethz.jvmai.*; 6 7 12 public class FieldJoinPointImpl extends CodeJoinPointImpl implements FieldJoinPoint { 13 14 17 public int fieldId = -1; 18 19 22 public int fieldFp = -1; 23 24 29 public Object getTarget() { 30 return VM_JVMAI.getInstance().getFieldTarget(this); 31 } 32 33 public Field getField() { 34 return VM_JVMAI.getInstance().getField(this); 35 } 36 37 public Object getValue() { 38 return VM_JVMAI.getInstance().getFieldValue(this); 39 } 40 41 } 42 | Popular Tags |