It seems very natural to do the same for the Map.toString().
As a minor wrinkle, while doing that change, I discovered two issues:
An assertion in TypeConstant.layerOnMethods() that should've been an error.
An incorrect order of "re-base", "extends" and "into" contributions. Since the actual processing happens in reverse order (the last added contribution is processed first), the addition order should be "into", "extends" and "re-base" )so "re-base" would be processed first.)
About six month ago we expanded Collection.toString() API to simplify the use of all the extra arguments on appendTo() method.
It seems very natural to do the same for the Map.toString().
As a minor wrinkle, while doing that change, I discovered two issues:
TypeConstant.layerOnMethods()
that should've been an error.