This is a regression I discovered while re-testing the old GRECLIPSE-1772.
Consider the following:
package c
class MyBean {
String foo
void setBar(String bar) {
foo = bar.toUpperCase()
}
}
And:
package c
class ConstructorTest {
static main(args) {
MyBean b = new MyBean(|)
}
}
Invoke code assist at "|": the property MyBean.bar is not suggested as a possible map-style constructor argument, only MyBean.foo is.
Also, I personally think that the code assist should not automatically add the trailing ",", I would find more comfortable to decide myself if I really need a comma (to enter another key-value pair).
This is a regression I discovered while re-testing the old GRECLIPSE-1772.
Consider the following:
And:
Invoke code assist at "|": the property
MyBean.baris not suggested as a possible map-style constructor argument, onlyMyBean.foois.Also, I personally think that the code assist should not automatically add the trailing ",", I would find more comfortable to decide myself if I really need a comma (to enter another key-value pair).