Find KClass.constructors access
ProprietaryReflective access to KClass.constructors reveals every constructor of a Kotlin class at runtime. Each match is a seed where reflective allocation is plausible — opaque to static analysis.
org. openrewrite. kotlin. search. FindKClassConstructors$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindKClassConstructors$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.