Replace some Java with Groovy.
Java -> Groovy.