Initial Commit
[packages] / xemacs-packages / jde / java / src / jde / wizards / NameFactory.java
1 /*
2  * Copyright (c) Eric D. Friedman 1998-2002. All Rights Reserved.
3  * Copyright (c) Paul Kinnucan 1998-2002. All Rights Reserved.
4  *
5  * $Revision: 1.3 $ 
6  * $Date: 2002/06/06 05:12:44 $ 
7  *
8  * InterfaceFactory is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License as
10  * published by the Free Software Foundation; either version 2, or (at
11  * your option) any later version.
12  *
13  * InterfaceFactory is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * General Public License for more details.
17  *
18  * To obtain a copy of the GNU General Public License write to the
19  * Free Software Foundation, Inc.,  59 Temple Place - Suite 330,
20  * Boston, MA 02111-1307, USA.  
21  */
22
23 package jde.wizards;
24
25 /**
26  * Interface for class that provides name for method
27  * parameters.
28  *
29  * @author Eric D. Friedman
30  * @version $Revision: 1.3 $
31  */
32 public interface NameFactory
33 {
34   /**
35    * Returns a unique (descriptive?) parameter name for the specified
36    * type.
37    *
38    * @param sig  - signature of the declaring method
39    * @param n    - the parameter number whose name we want.
40    * @return a made up name for the n'th parameter
41    */
42   public String getParameterName(Signature sig, int n);
43 }
44
45 /*
46  * $Log: NameFactory.java,v $
47  * Revision 1.3  2002/06/06 05:12:44  paulk
48  * DefaultNameFactory now generates meaningful method parameter names based
49  * on the parameter type or the method name. Thanks to Ole Arndt.
50  *
51  *
52  */
53
54 // End of NameFactory.java