Use Long.toString() instead of Long.toString(l)
Proprietaryjava.lang.Long.toString(l) is the JVM-only spelling; l.toString() reads as a receiver call and is multiplatform.
org. openrewrite. kotlin. migrate. UseLongToString$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseLongToString$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.