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: FieldJoinPoint.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.jvmai; 28 29 // used packages/classes 30 import ch.ethz.jvmai.JoinPoint; 31 import java.lang.reflect.Field; 32 33 /** 34 * Abstract class FieldJoinPoint represents a joinpoint 35 * related to a field. 36 * 37 * @version $Revision: 1.1.1.1 $ 38 * @author Andrei Popovici 39 */ 40 public interface FieldJoinPoint extends CodeJoinPoint { 41 42 43 44 /** 45 * Contains the reflective field currently being get or set. 46 */ 47 public Field getField(); 48 49 /** Contains the current value for the field being set or get 50 */ 51 public Object getValue(); 52 53 } 54 55 56 //====================================================================== 57 // 58 // $Log: FieldJoinPoint.java,v $ 59 // Revision 1.1.1.1 2003/07/02 15:30:50 apopovic 60 // Imported from ETH Zurich 61 // 62 // Revision 1.1 2003/05/05 14:02:19 popovici 63 // renaming from runes to prose 64 // 65 // Revision 1.5 2003/03/04 11:27:02 popovici 66 // Important refactorization step (march): 67 // - removal of 'JoinPointEvents'; JoinPoints now have the same function as events 68 // - reimplementation of the JVMAIDebuggerAspectInterface (better performance, coding conventions, removal of ProseVM 69 // structures 70 // 71 // Revision 1.4 2002/03/28 13:48:25 popovici 72 // Mozilla-ified 73 // 74 // Revision 1.3 2002/02/13 12:24:31 smarkwal 75 // spaces/tabs alignment corrected 76 // 77 // Revision 1.2 2002/01/24 12:47:55 smarkwal 78 // Field 'fieldClass' and comments added. 79 // 80 // Revision 1.1 2001/12/14 15:01:14 smarkwal 81 // Initial Revision 82 // 83