3 ms·You can do that in Java but not in Groovy unless you write tr:{ //... }by vorg 15y agoYou can do that in Java but not in Groovy unless you write tr:{ //... }