KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > inf > iks > jvmai > jvmdi > FieldAccessJoinPointImpl


1 //
2
// This file is part of the prose package.
3
//
4
// The contents of this file are subject to the Mozilla Public License
5
// Version 1.1 (the "License"); you may not use this file except in
6
// compliance with the License. You may obtain a copy of the License at
7
// http://www.mozilla.org/MPL/
8
//
9
// 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 Andrei Popovici. Portions
17
// created by Andrei Popovici are Copyright (C) 2002 Andrei Popovici.
18
// All Rights Reserved.
19
//
20
// Contributor(s):
21
// $Id: FieldAccessJoinPointImpl.java,v 1.1.1.1 2003/07/02 15:30:50 apopovic Exp $
22
// =====================================================================
23
//
24
// (history at end)
25
//
26

27 package ch.ethz.inf.iks.jvmai.jvmdi;
28
29 // used packages/classes
30
import ch.ethz.jvmai.FieldJoinPoint;
31 import ch.ethz.jvmai.FieldAccessJoinPoint;
32
33 /**
34  * Class FieldAccessJoinPoint represents a joinpoint where
35  * a field is accessed. This class does not provide any new
36  * fields or methods.
37  *
38  * @version $Revision: 1.1.1.1 $
39  * @author Stephan Markwalder
40   * @author Andrei Popovici
41  */

42 public class FieldAccessJoinPointImpl extends FieldJoinPointImpl implements FieldAccessJoinPoint
43 {
44
45     public FieldAccessJoinPointImpl(ControlFlow cf, JoinPointContext ctx)
46     {
47     super(cf,ctx);
48     }
49
50     public String JavaDoc getKind()
51     {
52     return FieldAccessJoinPoint.KIND;
53     }
54   public int getMask()
55     {
56       return MASK_CODE_JP | MASK_FIELD_JP | MASK_FIELD_ACCESS_JP;
57     }
58 }
59
60 //======================================================================
61
//
62
// $Log: FieldAccessJoinPointImpl.java,v $
63
// Revision 1.1.1.1 2003/07/02 15:30:50 apopovic
64
// Imported from ETH Zurich
65
//
66
// Revision 1.4 2003/05/05 17:46:24 popovici
67
// Refactorization step (runes->prose) cleanup
68
//
69
// Revision 1.3 2003/04/17 08:47:03 popovici
70
// Important functionality additions
71
// - Cflow specializers
72
// - Restructuring of the MethodCut, SetCut, ExceptionCut, and GetCut (they are much smaller)
73
// - Transactional capabilities
74
// - Total refactoring of Specializer evaluation, which permits fine-grained distinction
75
// between static and dynamic specializers.
76
// - Functionality pulled up in abstract classes
77
// - Uniformization of advice methods patterns and names
78
//
79
// Revision 1.2 2003/03/04 16:09:33 popovici
80
// Documentation improvements
81
//
82
// Revision 1.1 2003/03/04 11:26:33 popovici
83
// Important refactorization step (march):
84
// - removal of 'JoinPointEvents'; JoinPoints now have the same function as events
85
// - reimplementation of the JVMAIDebuggerAspectInterface (better performance, coding conventions, removal of ProseVM
86
// structures
87
//
88
// Revision 1.4 2002/03/28 13:48:25 popovici
89
// Mozilla-ified
90
//
91
// Revision 1.3 2002/02/13 12:24:25 smarkwal
92
// spaces/tabs alignment corrected
93
//
94
// Revision 1.2 2002/01/24 12:46:22 smarkwal
95
// comments added
96
//
97
// Revision 1.1 2001/12/14 15:01:14 smarkwal
98
// Initial Revision
99
//
100
Popular Tags