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 Andrei Popovici. Portions
17: // created by Andrei Popovici are Copyright (C) 2002 Andrei Popovici.
18: // All Rights Reserved.
19: //
20: // Contributor(s):
21: // $Id: ANY.java,v 1.1.1.1 2003/07/02 15:30:51 apopovic Exp $
22: // =====================================================================
23: //
24: // (history at end)
25: //
26:
27: package ch.ethz.prose.crosscut;
28:
29: // used packages
30:
31: /**
32: * Class ANY matches any classes but no class lists.
33: *
34: * @version $Revision: 1.1.1.1 $
35: * @author Andrei Popovici
36: */
37: public class ANY extends Wildcard {
38:
39: public boolean isAssignableFrom(Class cls) {
40: return true;
41: }
42:
43: public boolean isAssignableFrom(Class[] clsList) {
44: return false;
45: }
46:
47: }
48:
49: //======================================================================
50: //
51: // $Log: ANY.java,v $
52: // Revision 1.1.1.1 2003/07/02 15:30:51 apopovic
53: // Imported from ETH Zurich
54: //
55: // Revision 1.1 2003/05/05 13:58:12 popovici
56: // renaming from runes to prose
57: //
58: // Revision 1.3 2002/03/28 13:48:40 popovici
59: // Mozilla-ified
60: //
61: // Revision 1.2 2002/02/05 09:45:11 smarkwal
62: // JVMDI-specific code replaced by JVMAI. Prose-implementation classes and reflection package removed.
63: //
64: // Revision 1.1.1.1 2001/11/29 18:13:16 popovici
65: // Sources from runes
66: //
67: // Revision 1.1.2.1 2000/10/23 18:36:35 popovici
68: // Initial Revision
69: //
|