Consider this:
package test36;
public interface MyInterface<I, O> {
O doSomething(I input);
O doSomethingElse(I input);
}
And the following Groovy class:
package test36
class Test36 {
void foo() {
def i = new MyInterface() {
|
}
}
}
Invoke code assist at "|" and choose to Override method doSomething in MyInterface. The expected result is:
Object doSomething(Object input) {
|
}
The actual result is:
Object doSomething(Object input) {};|
Consider this:
And the following Groovy class:
Invoke code assist at "|" and choose to Override method
doSomethinginMyInterface. The expected result is:The actual result is: