Find Spring proxied-annotation smells

Proprietary

Proxy-backed annotations beyond @Transactional that hit the same Kotlin-default-final trap: @Async and @Cacheable on private methods or final classes, plus @EventListener methods that accidentally republish their return values as new events.

org.openrewrite.kotlin.spring.FindSpringProxiedAnnotationSmells$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.spring.FindSpringProxiedAnnotationSmells$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 @Async on private functions
  2. Find @Async methods on classes that aren't open
  3. Find @Cacheable on private functions
  4. Find @EventListener methods with non-Unit return types