Find string-allocation smells
ProprietaryFlags s = s + "…"-inside-loop patterns that allocate a fresh String on every iteration. The StringBuilder.length-vs-size rewrite lives in the autofix bundle.
org. openrewrite. kotlin. performance. FindStringConcatSmells$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. performance. FindStringConcatSmells$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.