2 * Copyright (c) Eric D. Friedman 1998-2002. All Rights Reserved.
3 * Copyright (c) Paul Kinnucan 1998-2002. All Rights Reserved.
6 * $Date: 2002/06/06 05:12:44 $
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.
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.
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.
26 * Interface for class that provides name for method
29 * @author Eric D. Friedman
30 * @version $Revision: 1.3 $
32 public interface NameFactory
35 * Returns a unique (descriptive?) parameter name for the specified
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
42 public String getParameterName(Signature sig, int n);
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.
54 // End of NameFactory.java