Consider this example:
package test
class Ternary {
static main(args) {
def a = true? String.val|
}
}
Assume I want to call String.valueOf(boolean). Invoke code assist at "|": no suggestion is given.
In order to make Groovy give me some suggestions, I have to complete the second assignment, i.e. something like this:
def a = true? String.val| : 'false'
If you invoke code assist at "|", it then works.
Consider this example:
Assume I want to call
String.valueOf(boolean). Invoke code assist at "|": no suggestion is given.In order to make Groovy give me some suggestions, I have to complete the second assignment, i.e. something like this:
If you invoke code assist at "|", it then works.