Find java.lang.reflect.Field.get/set calls

Proprietary

Direct field reads/writes via reflection bypass property accessors and private visibility. Each call is a position where invariants the surrounding code relies on can be silently violated.

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