Groovy annotations that make use of groovy.transform.AnnotationCollector support the specification of attributes for the collected annotations. Consider the following:
@groovy.transform.Canonical(defaults=false,useCanEqual=false)
class Pogo {
}
"defaults" comes from TupleConstructor and "useCanEqual" comes from EqualsAndHashCode. https://docs.groovy-lang.org/latest/html/documentation/core-object-orientation.html#_meta_annotations
Groovy annotations that make use of
groovy.transform.AnnotationCollectorsupport the specification of attributes for the collected annotations. Consider the following:"defaults" comes from
TupleConstructorand "useCanEqual" comes fromEqualsAndHashCode. https://docs.groovy-lang.org/latest/html/documentation/core-object-orientation.html#_meta_annotations