tag:blogger.com,1999:blog-8493386468030365259.post4320815178647840350..comments2024-02-25T00:21:41.809-08:00Comments on Masato Nagai's Blog: Generic toString() in GroovyMasato Nagaihttp://www.blogger.com/profile/12532119746926511346noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-8493386468030365259.post-44801067618485942992011-01-09T22:23:36.796-08:002011-01-09T22:23:36.796-08:00Thank you Matthias, I will try Groovy 1.8.Thank you Matthias, I will try Groovy 1.8.筑丸https://www.blogger.com/profile/16220532008808684901noreply@blogger.comtag:blogger.com,1999:blog-8493386468030365259.post-30572045327201939262011-01-09T10:16:20.152-08:002011-01-09T10:16:20.152-08:00It'd be great to see this one applied at the b...It'd be great to see this one applied at the beginning of a grails application (in BootStrap maybe) to all domain classes where toString has not been overriden. This way whenever a new class is being created it will always have a proper toString method right out of the box.<br /><br />Btw. this will be obsolete starting with Groovy 1.8 where the @ToString annotation will be available taking care of the problem.Matthias Hryniszakhttps://www.blogger.com/profile/11432592442831476478noreply@blogger.com