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 Developers of the Original Code is Angela Nicoara and Gerald Linhofer.
17: // All Rights Reserved.
18: //
19: // Contributor(s):
20: // $Id$
21: // ======================================================================
22: //
23: // (history at end)
24: //
25:
26: package ch.ethz.jvmai;
27:
28: import java.lang.reflect.Constructor;
29:
30: /**
31: * Class ConstructorJoinPoint represents a joinpoint
32: * where a constructor is called.
33: *
34: * @version $Revision$
35: * @author Angela Nicoara
36: * @author Gerald Linhofer
37: */
38:
39: public interface ConstructorJoinPoint extends CodeJoinPoint {
40:
41: public static String KIND = JoinPointKinds.KIND_CONSTRUCTOR_JP;
42:
43: /**
44: * Returns the reflected Constructor for that this join point was called.
45: */
46: public Constructor getConstructor();
47:
48: /** Set the argument at position <code>pos</code> to value value.
49: *
50: * @throws JVMAIRuntimeException in case of type mismatches between <code>value</code> and the
51: * actual type of the argument at position <code>pos</code>.
52: */
53: public void setArg(int pos, Object value);
54: }
55:
56: //================================================================
57: //
58: // $Log$
59: //
|