Paul King created GROOVY-10321:
----------------------------------
Summary: @ToString could provide annotation attributes to control
further the format of the created toString
Key: GROOVY-10321
URL: https://issues.apache.org/jira/browse/GROOVY-10321
Project: Groovy
Issue Type: Improvement
Reporter: Paul King
Possible attributes:
* leftDelimiter - default "("
* rightDelimiter - default ")"
* nameValueSeparator when {{includeNames}} is active - default ":"
* fieldSeparator - default ", "
Record-like toString values could be obtained by setting:
{code}
@ToString(leftDelimiter="[", rightDelimiter="]", nameValueSeparator="=",
includePackage=false)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)