Use kotlin.math.atan2 instead of java.lang.Math.atan2
ProprietaryPrefer the multiplatform-friendly kotlin.math.atan2 over the JVM-only Math.atan2.
org. openrewrite. kotlin. migrate. UseKotlinMathAtan2$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. migrate. UseKotlinMathAtan2$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.