Find @Async methods on classes that aren't open
ProprietarySpring's @Async proxy is the same CGLIB subclass mechanism @Transactional uses; it can only intercept methods on a non-final, non-private surface. Mark the surrounding class and method open, or apply the kotlin-spring compiler plugin to do it for you.
org. openrewrite. kotlin. spring. FindAsyncOnFinal$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. spring. FindAsyncOnFinal$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.