Find String.format calls inside collection lambdas
ProprietaryString.format(...) reparses the format string on every call. Inside a collection lambda that runs per element — prefer Kotlin string templates ("${x}") or hoist a Formatter.
org. openrewrite. kotlin. performance. FindStringFormatInCollectionLambdas$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. performance. FindStringFormatInCollectionLambdas$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.