In Eclipse 3, if I've the following class definition
and some place I write code to create a new Foo instance, using a constructor that doesn't exist, for example
<![CDATA[Foo foo = new Foo("foo");]]>
the IDE will provide a quick fix that can be selected to automatically create a matching constructor in the Foo class. In other words, it'll change the Foo class definition to
public Foo(String string)
The Eclipse quick fix feature provides similar solutions when invoking methods that don't yet exist, and when referencing a class that doesn't yet exist.
Does IDEA 4 have a similar feature? If so, how do I make use of it?