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