Closed
Description
DefaultValueStyler
hard codes conventions for styling that are verbose and do not align well with standard toString()
implementations in the JDK for arrays, collections, and maps. Furthermore, the default styling for classes and methods may not be suitable or desirable for certain use cases.
To address these shortcomings, we should introduce a SimpleValueStyler
for use with ToStringCreator
. The default behavior of SimpleValueStyler
should align with toString()
implementations for arrays, collections, and maps in the JDK, and styling for classes and methods should be configurable without having to create a custom subclass of the ValueStyler
.