Use Double.nextDown() instead of java.lang.Math.nextDown
ProprietaryMath.nextDown(x) becomes x.nextDown() — multiplatform Kotlin extension on Double.
org. openrewrite. kotlin. migrate. UseDoubleNextDown$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseDoubleNextDown$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.