[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Dltk-dev] IMethod changes
|
why still the getParameterNames() ?
Would it be cleaner just to have getParameters() that returns the IParameter Array?
On Mon, Feb 15, 2010 at 11:42, Alex Panchenko
<alex@xxxxxxxxx> wrote:
Hi all,
I want to perform the following change, as some languages might have types for method parameters:
public interface IParameter {
String getName();
String getType();
String getDefaultValue();
}
public interface IMethod extends IMember {
- public String[] getParameters() throws ModelException;
+ public String[] getParameterNames() throws ModelException;
- public String[] getParameterInitializers() throws ModelException;
+ public IParameter[] getParameters() throws ModelException;
boolean isConstructor() throws ModelException;
...
Are there any objections/other naming ideas?
Regards,
Alex
_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev