I love the new "lightbulb" thing... I call an object's method with an 
as-yet-unknown signature, and I was able to generate the method in the other 
class. A slight extension of this feature: it would be wonderful if I could 
do the same with constructors -- give me the opportunity to generate a 
constructor with the parameters I've just passed in to it.

For example, if I have a class Foo with a one-arg constructor defined:

class Foo
{
     Foo(int bar)
     {
         //...
     }
}

and I also have a class Baz in which I'm instantiating Foo, but decided that 
I want to have a two-arg constructor:

class Baz
{
     int bar, blat;
     Foo fooInstance = new Foo(bar, blat);
}

I would love to be presented with the opportunity to generate the two-arg 
constructor in the Foo class.

cheers,
Chris

-- 
   Chris Woods      ICQ UIN#21740987      [EMAIL PROTECTED]
   Experienced Java Developer Looking For Work in Nashua, NH area:
                 http://resumes.dice.com/objectnetworks



_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to