Use Int.floorDiv instead of java.lang.Math.floorDiv
ProprietaryMath.floorDiv(a, b) becomes a.floorDiv(b) — the multiplatform Kotlin extension on Int.
org. openrewrite. kotlin. migrate. UseIntFloorDiv$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseIntFloorDiv$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.