Find AccessibleObject.setAccessible(true) calls
ProprietarysetAccessible(true) bypasses Java/Kotlin visibility. It's a strong signal of either a serialization library at work or a workaround for a missing API — either way, a reviewer/agent reading the code should be aware that visibility cannot be trusted here.
org. openrewrite. kotlin. search. FindSetAccessibleTrue$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. search. FindSetAccessibleTrue$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.