Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When using @ToString and @EqualsAndHashCode, the transforms attempt to create a private underscore version of the method. This supports a somewhat crude mechanism for customisation where a hand-written method could call and tweak the underscore version, e.g. we could write our own toString() and call _toString(). This underscore method wouldn't normally be useful if the found toString() was generated by another transform. This issue is to adjust the relevant transforms to not generate the underscore variant in this scenario.