Find reflection seeds

Proprietary

Field/member/constructor reflection over Java and Kotlin types (Class.getDeclaredField, KClass.members, KClass.declaredFunctions, KClass.constructors). Each match is a position where program behavior is opaque to static analysis and depends on runtime symbol lookup.

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

  1. Find Class.getDeclaredField / Class.getField calls
  2. Find KClass.members / memberFunctions / memberProperties access
  3. Find KClass.declaredFunctions / declaredMemberFunctions access
  4. Find KClass.constructors access