Use Int.toString(8) instead of Integer.toOctalString
ProprietaryInteger.toOctalString(i) is JVM-only; the multiplatform i.toString(8) produces the same octal text.
org. openrewrite. kotlin. migrate. UseIntToStringOctal$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseIntToStringOctal$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.