KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > prose > jvmai > jikesrvm > advice_weaver > FieldModificationJoinPointImpl


1 package ch.ethz.prose.jvmai.jikesrvm.advice_weaver;
2
3 import ch.ethz.jvmai.FieldModificationJoinPoint;
4
5 /**
6  * Concrete implementation of a FieldModificationJoinPoint for the Jikes RVM.
7  *
8  * @author Johann Gyger
9  */

10 public class FieldModificationJoinPointImpl extends FieldJoinPointImpl implements FieldModificationJoinPoint {
11
12   public String JavaDoc getKind() {
13     return KIND_FIELD_MODIFICATION_JP;
14   }
15
16   public int getMask() {
17     return MASK_CODE_JP | MASK_FIELD_JP | MASK_FIELD_MODIFICATION_JP;
18   }
19
20   public Object JavaDoc getNewValue() {
21     throw new RuntimeException JavaDoc("Not implemented: " + getClass().getName() + ".getNewValue()");
22   }
23
24   public void setNewValue(Object JavaDoc nv) {
25     throw new RuntimeException JavaDoc("Not implemented: " + getClass().getName() + ".setNewValue()");
26   }
27
28 }
29
Popular Tags