This was the old GRECLIPSE-1473.
Consider the following Java interface:
package test;
public interface I {
void myMethod(String a, int b);
}
And the following Groovy class:
package test
class A implements I {
|
}
Invoke code assist at "|": the following two proposals are shown:
- myMethod(String arg0, int arg1): void - Override method in 'I'
- equals(Object param0): boolean - Override method in 'Object'
I would expect to see, instead:
- myMethod(String a, int b): void - Override method in 'I' (actually, it should be "implement missing method", but it's not that important)
- equals(Object obj): boolean - Override method in 'Object'
If you accept one of those proposals, though, the result is correct (thanks to the old fix for GRECLIPSE-1347).