Have you seen the official documentation ? It contains good code samples.
Essentially when you use the normal operator . , you indirectly touch the fields using implicitly created getters / setters. However, .@ allows you to access the field directly by skipping the getter / setter.
This can be useful if you want to avoid some additional logic implemented in getter / setter and directly change the field. It violates tons of OOP principles, but Groovy authors find this construct useful.
Tomasz Nurkiewicz
source share