Rename methods named hashcode, equal, or tostring
MSALMethods should not be named hashcode, equal, or tostring. Any of these are confusing as they appear to be intended as overridden methods from the Object base class, despite being case-insensitive. These near-miss names are almost certainly spelling mistakes that silently introduce a new method instead of overriding the intended one.
org. openrewrite. staticanalysis. RenameMethodsNamedHashcodeEqualOrToStringmod run . --recipe= org. openrewrite. staticanalysis. RenameMethodsNamedHashcodeEqualOrToStringInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.