Use Char.toString() instead of Character.toString(c)
Proprietaryjava.lang.Character.toString(c) is JVM-only; c.toString() is the multiplatform receiver call and produces the same one-character String.
org. openrewrite. kotlin. migrate. UseCharToString$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseCharToString$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.