Find java.lang.reflect.Method.invoke(...) calls
ProprietaryCalls through Method.invoke are reflective dispatch — the target body is opaque to static analysis. Flag for review whenever a reader needs to know which functions are actually reachable.
org. openrewrite. kotlin. search. FindMethodInvoke$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindMethodInvoke$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.