Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Basically, the following would be supported:
import groovy.transform.* @ToString class Foo { String baz = 'baz' } @ToString(includes='super,num,blah', includeNames=true) class Bar extends Foo { String blah = 'blah' int num = 42 } new Bar().toString() // => Bar(blah:blah, num:42, super:Foo(baz))
Attachments
Issue Links
- is depended upon by
-
GROOVY-8014 @ToString could output properties in a predefined order when 'includes' is used
- Closed
- links to