Find Stream.of(...) calls

Proprietary

Stream.of(...) is a varargs-to-Stream constructor used to bootstrap a Stream pipeline. In Kotlin, sequenceOf(...) (lazy) or listOf(...) (eager) cover the same uses without committing to the Stream type at the boundary.

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