Consider the following:
package test14
class Outer {
static class Nested {
String foo
Integer bar
}
}
And:
package test14
import test14.Outer.Nested
class Test14 {
void foobar() {
def n = new Nested(|)
}
}
Invoke code assist at "|": no suggestion is given to invoke a map-style constructor (like new Nested(foo: 'foo', bar: 5)). Neither is given if I start to type a property name (like new Nested(fo|)).
Consider the following:
And:
Invoke code assist at "|": no suggestion is given to invoke a map-style constructor (like
new Nested(foo: 'foo', bar: 5)). Neither is given if I start to type a property name (likenew Nested(fo|)).