Find companion object functions missing @JvmStatic
ProprietaryWithout @JvmStatic, Java callers must reach companion-object functions through the synthetic Companion holder: Outer.Companion.foo(...). Adding @JvmStatic lifts the function to Outer.foo(...), matching what a Java reader expects from a class with static methods. Flag-only — sometimes the wrapper is intentional.
org. openrewrite. kotlin. interop. FindMissingJvmStaticInCompanion$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. interop. FindMissingJvmStaticInCompanion$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.