[
https://issues.apache.org/jira/browse/GROOVY-10321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-10321.
------------------------------
> @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
> Assignee: Paul King
> Priority: Major
> Fix For: 4.0.0-beta-2
>
>
> 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.20.1#820001)