Use Char.isDigit() instead of Character.isDigit(c)
ProprietaryJava's Character.isDigit(c) is JVM-only; the Kotlin extension c.isDigit() is multiplatform and reads more naturally as a receiver call.
org. openrewrite. kotlin. migrate. UseCharIsDigit$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseCharIsDigit$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.