Find stream.filter(...).map(...) chains
ProprietaryA filter().map() chain on Stream is structurally identical to the same chain on Iterable/Sequence — the Stream machinery just adds Collector requirements at the terminal. Migrate to Kotlin collections; if laziness matters, use asSequence() once at the head.
org. openrewrite. kotlin. interop. FindStreamFilterMap$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. interop. FindStreamFilterMap$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.