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

Proprietary

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

org.openrewrite.kotlin.migrate.UseDoubleNextUp$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.migrate.UseDoubleNextUp$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.