concept access in category groovy
appears as: ccess, access

This is an excerpt from Manning's book Groovy in Action, Second Edition.
It must be said that proper immutability isn’t easily achieved without such help and the annotation does actually much more than what you see in listing 2.5: it adds a correct hashCode() implementation and enforces defensive copying for access to all properties that aren’t immutable by themselves.
Table 14.4. Element and attribute access in groovy.util.Node and GPathResult
Node (XmlParser)
GPathResult (XmlSlurper)
Meaning
['elementName'] ['elementName'] All child elements of that name .elementName .elementName [index] [index] Child element by index ['@attributeName'] ['@attributeName'] The attribute value stored under that name .'@attributeName' .'@attributeName' .@attributeName .@attributeName