Find @Cacheable on private functions

Proprietary

@Cacheable works through the same proxy mechanism as @Transactional and @Async — invisible on private (and internal) methods. Either widen visibility or move the caching boundary up the call chain.

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