This is the generated toString for my Hand Groovy class from IDEA 12
@Override public String toString() { return"Hand{" + "playerSeat=" + playerSeat + ',}'; }
As you can see this is Java not Groovy. 1) There is a semi-colon. 2) String concatentaion with "+" and 3) Doesn't use triple quotes if you need multiline Strings.
I could have sworn this used to work, or that in one previous version of IntelliJ it didn't work, then got fixed, and now not working.
I of course, can simply fix the code now, but it should still work.
Thanks
Mark