KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > prose > crosscut > REST


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: REST.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 /**
30  * Class REST matches any list of parameters. It follows the
31  * idea of LISP, where you can specify &rest parameters
32  *
33  * @version $Revision: 1.1.1.1 $
34  * @author Andrei Popovici
35  */

36 public
37 class REST extends Wildcard {
38
39     public boolean isAssignableFrom(Class JavaDoc cls)
40     {
41     return false;
42     }
43
44     public boolean isAssignableFrom(Class JavaDoc[] clsList)
45     {
46     if (clsList == null)
47         throw new IllegalArgumentException JavaDoc("null parameter");
48     return true;
49     }
50
51 }
52
53
54 //======================================================================
55
//
56
// $Log: REST.java,v $
57
// Revision 1.1.1.1 2003/07/02 15:30:51 apopovic
58
// Imported from ETH Zurich
59
//
60
// Revision 1.1 2003/05/05 13:58:09 popovici
61
// renaming from runes to prose
62
//
63
// Revision 1.3 2002/03/28 13:48:43 popovici
64
// Mozilla-ified
65
//
66
// Revision 1.2 2002/02/05 09:46:36 smarkwal
67
// JVMDI-specific code replaced by JVMAI. Prose-implementation classes and reflection package removed.
68
//
69
// Revision 1.1.1.1 2001/11/29 18:13:17 popovici
70
// Sources from runes
71
//
72
// Revision 1.1.2.1 2000/10/23 18:36:40 popovici
73
// Initial Revision
74
//
75
Popular Tags