01: package ch.ethz.prose.jvmai.jikesrvm.stub_weaver;
02:
03: import ch.ethz.jvmai.FieldModificationJoinPoint;
04:
05: /**
06: * Concrete implementation of a FieldModificationJoinPoint for the Jikes RVM.
07: *
08: * @author Johann Gyger
09: */
10: public class FieldModificationJoinPointImpl extends FieldJoinPointImpl
11: implements FieldModificationJoinPoint {
12:
13: public String getKind() {
14: return KIND_FIELD_MODIFICATION_JP;
15: }
16:
17: public int getMask() {
18: return MASK_CODE_JP | MASK_FIELD_JP
19: | MASK_FIELD_MODIFICATION_JP;
20: }
21:
22: public Object getNewValue() {
23: throw new RuntimeException(
24: "TODO FieldModificationJoinPointImpl.getNewValue");
25: }
26:
27: public void setNewValue(Object nv) {
28: throw new RuntimeException(
29: "TODO FieldModificationJoinPointImpl.setNewValue");
30: }
31:
32: }
|