If a class defines a public method that follows the Java getter notation and returns a constant, then it is cleaner to provide a Groovy property for the value rather than a Groovy method.
Type | Name and description |
---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |