Instead of nested collect{}-calls use collectNested{}
protected static String
MESSAGE
Class
astVisitorClass
String
name
int
priority
Groovy Documentation