GROSSJOHANN, Kai writes:
 > I tried "Implement abstract class".  The abstract method was
 > 
 >      public abstract String foo(SomeClass one, OtherClass two);
 > 
 > So I expected to get this signature:
 > 
 >      public String foo(SomeClass one, OtherClass two)
 > 
 > However, I got:
 > 
 >      public String foo(SomeClass someClass, OtherClass otherClass)
 > 
 > Is there a way to get the signature I expected?
 > 
 > 
 > Is there a way to implement just one method from an abstract class?

Hi Kai,

Yes, you can use the JDEE's override method wizard with the current version
of the JDEE and versions of the JDK before JDK 1.4. Unfortunately, a change
in Java reflection introduced in JDK 1.4 prevents the method override wizard
in the current production and beta versions of the JDEE from overriding
abstract methods declared or inherited by a class. I've fixed this for the
next release.

Paul

 > Completion, with a list of all abstract methods in that class, would be just
 > dandy.  The thing is, "Implement abstract class" is good if you're starting
 > afresh with a new class, but if you have added a new abstract method to the
 > abstract class and then want to iterate over all the implementing classes,
 > then "Implement abstract class" doesn't help that much.
 > 
 > tia,
 > Kai

Reply via email to