Use Int.countTrailingZeroBits() instead of Integer.numberOfTrailingZeros
ProprietaryInteger.numberOfTrailingZeros(i) becomes i.countTrailingZeroBits() — the multiplatform Kotlin extension reads as a receiver call.
org. openrewrite. kotlin. migrate. UseIntCountTrailingZeroBits$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseIntCountTrailingZeroBits$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.