Use String.toInt(radix) instead of Integer.parseInt(s, radix)
ProprietaryInteger.parseInt(s, radix) is JVM-only; the Kotlin extension s.toInt(radix) is multiplatform and reads as a receiver call.
org. openrewrite. kotlin. migrate. UseStringToIntWithRadix$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseStringToIntWithRadix$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.