No primitive wrappers for #toString() or #compareTo(..)
MSALPrimitive wrappers should not be instantiated only for #toString() or #compareTo(..) invocations. Allocating a wrapper object just to call a method that has a static equivalent is wasteful; the static versions avoid the unnecessary object creation.
org. openrewrite. staticanalysis. NoPrimitiveWrappersForToStringOrCompareTomod run . --recipe= org. openrewrite. staticanalysis. NoPrimitiveWrappersForToStringOrCompareToInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.