Find Kotlin declarations missing @Jvm* interop annotations
ProprietarySearch-only bundle of declarations where the JVM-visible API surface would benefit from one of the @JvmStatic / @JvmField / @JvmOverloads / @JvmName / @Throws annotations. Each match is a candidate for review — none should be applied blindly, but the absence is the primary friction Java callers feel.
org. openrewrite. kotlin. interop. FindMissingJvmAnnotations$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. interop. FindMissingJvmAnnotations$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.
Recipe list
It runs these recipes, in this order.
- Find
companion objectfunctions missing@JvmStatic - Find
const val/ companionvaldeclarations missing@JvmField - Find functions with default parameters missing
@JvmOverloads - Find top-level functions missing
@JvmName - Find
val isXBoolean properties missing@get:JvmName - Find functions with
throwof a checked exception missing@Throws - Find interface declarations with default-method bodies
- Find
@RequiresOptInannotation declarations