01: package ch.ethz.prose.jvmai.jikesrvm.stub_weaver;
02:
03: import ch.ethz.jvmai.FieldAccessJoinPoint;
04: import ch.ethz.jvmai.JVMAIRuntimeException;
05:
06: /**
07: * Concrete implementation of a FieldAccessJoinPoint for the Jikes RVM.
08: *
09: * @author Johann Gyger
10: */
11: public class FieldAccessJoinPointImpl extends FieldJoinPointImpl
12: implements FieldAccessJoinPoint {
13:
14: public String getKind() {
15: return KIND_FIELD_ACCESS_JP;
16: }
17:
18: public int getMask() {
19: return MASK_CODE_JP | MASK_FIELD_JP | MASK_FIELD_ACCESS_JP;
20: }
21:
22: public void setValue(Object obj) {
23: throw new JVMAIRuntimeException(
24: "Not implemented for the Stub Weaver implementation.");
25: }
26:
27: }
|