Use Double.nextDown() instead of java.lang.Math.nextDown

Proprietary

Math.nextDown(x) becomes x.nextDown() — multiplatform Kotlin extension on Double.

org.openrewrite.kotlin.migrate.UseDoubleNextDown$KtRecipe
mod 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.