concept action in category groovy
appears as: ction, action, n action, ctions

This is an excerpt from Manning's book Groovy in Action, Second Edition.
This is type inference in action and it controls how code completion works in the trailing code and even how method calls on keys and values of that map are known to be of type String. As an example, in line.contains(key) the key must be a String, and because IntelliJ infers that it is, there’s no warning marker.
The notation that Groovy uses to set its collective datatypes into action will be new to Java programmers, but as you’ll see, it’s easy to understand and remember. You’ll pick it up so quickly that you’ll hardly be able to imagine a time when you were new to the concept.