Improve Java↔Kotlin interop ergonomics
ProprietaryOpinionated bundle of every interop recipe in this module: the Optional.of(x).get() collapse plus search-only flags for Java idioms that have first-class Kotlin replacements (Optional, CompletableFuture, Stream, Collections factories, @Jvm*-annotation gaps, Java-style call shapes, reactive return types, non-injected clocks). For diff-only output, use ImproveKotlinInterop.
org. openrewrite. kotlin. interop. Interop$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. interop. Interop$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.
Recipe list
It runs these recipes, in this order.