Find object Utils { fun foo() = ... } static-utility holders

Proprietary

An object Utils whose members are all functions (no state) is the Kotlin spelling of a Java static-utility class. Promote the functions to top-level — they're indexable, importable directly, and don't carry the synthetic singleton-load overhead Java callers see.

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