Find functions returning java.util.stream.Stream<T>

Proprietary

Stream<T> is the Java 8 lazy-pipeline type — single-use, no built-in cancellation, only consumable through collect. In Kotlin, Sequence<T> is the equivalent for lazy iterable pipelines; List<T> and Flow<T> cover the eager and async-lazy cases respectively.

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