Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] idea for refactoring

You mean like
void test(int a, int b, int c = 2, boolean dosomething = true) ?

I think that should be a language feature in 1.5



Dan Allen wrote:

While I was sitting here coding today, I had, what I consider to be,
an excellent idea for a refactoring option.  When creating a method,
it is often times necessary to create several "optional" methods with
different signatures which in turn call the primary method. Therefore, I propose a refactoring named:

generate alternate caller method

or something to that effect.  It would ask for fields to be accepted
and which of those fields will be used to call the primary method and
then generate the delegating method.

Thoughts?
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-dev





Back to the top