Some method calls to Object.collect(Closure) can be replaced with the spread operator. For instance, list.collect { it.multiply(2) } can be replaced by list*.multiply(2).
Type | Name and description |
---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |