From the old GRECLIPSE-1800
Consider the following:
package c
class C {
class MyBean {
String foo
int bar
}
class AnotherClass {
int createInt() {
return 1
}
String createString() {
return 'foo'
}
}
void doSomething() {
def a = new AnotherClass()
def b = new MyBean()
b.foo = a.cre|
}
}
When invoking code assist at | Greclipse is curently suggesting c.C.AnotherClass.createInt() before c.C.AnotherClass.createString(), I suspect following an alphabetical criteria, but I would expect the latter one to be proposed first, since c.C.MyBean.foo is of type String.
The same applies with the following alternative invocation:
From the old GRECLIPSE-1800
Consider the following:
When invoking code assist at | Greclipse is curently suggesting
c.C.AnotherClass.createInt()beforec.C.AnotherClass.createString(), I suspect following an alphabetical criteria, but I would expect the latter one to be proposed first, sincec.C.MyBean.foois of type String.The same applies with the following alternative invocation: