01: //
02: // This file is part of the prose package.
03: //
04: // The contents of this file are subject to the Mozilla Public License
05: // Version 1.1 (the "License"); you may not use this file except in
06: // compliance with the License. You may obtain a copy of the License at
07: // http://www.mozilla.org/MPL/
08: //
09: // Software distributed under the License is distributed on an "AS IS" basis,
10: // WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11: // for the specific language governing rights and limitations under the
12: // License.
13: //
14: // The Original Code is prose.
15: //
16: // The Initial Developer of the Original Code is Angela Nicoara. Portions
17: // created by Angela Nicoara are Copyright (C) 2002 Angela Nicoara.
18: // All Rights Reserved.
19: //
20: // Contributor(s):
21: // $Id$
22: // =====================================================================
23: //
24: // (history at end)
25: //
26:
27: package ch.ethz.prose.jvmai.jikesrvm.advice_weaver;
28:
29: import ch.ethz.jvmai.FieldModificationJoinPoint;
30:
31: /**
32: * Concrete implementation of a FieldModificationJoinPoint for the Jikes RVM.
33: *
34: * @version $Revision$
35: * @author Johann Gyger
36: * @author Angela Nicoara
37: */
38: public class FieldModificationJoinPointImpl extends FieldJoinPointImpl
39: implements FieldModificationJoinPoint {
40:
41: public String getKind() {
42: return KIND_FIELD_MODIFICATION_JP;
43: }
44:
45: public int getMask() {
46: return MASK_CODE_JP | MASK_FIELD_JP
47: | MASK_FIELD_MODIFICATION_JP;
48: }
49:
50: public Object getNewValue() {
51: throw new RuntimeException("Not implemented: "
52: + getClass().getName() + ".getNewValue()");
53: }
54:
55: public void setNewValue(Object nv) {
56: throw new RuntimeException("Not implemented: "
57: + getClass().getName() + ".setNewValue()");
58: }
59:
60: }
61:
62: //======================================================================
63: //
64: // $Log$
65: //
|