From a code snippet in 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( foo: a.cre| )
}
}
Trying to invoke code assist at | brings no suggestions. I would expect to see c.C.AnotherClass.createString() (since MyBean.foo is of type String) suggested first, then c.C.AnotherClass.createInt() next.
From a code snippet in the old GRECLIPSE-1800.
Consider the following:
Trying to invoke code assist at | brings no suggestions. I would expect to see
c.C.AnotherClass.createString()(sinceMyBean.foois of type String) suggested first, thenc.C.AnotherClass.createInt()next.