Find @Bean methods without @Scope

Proprietary

@Bean without @Scope produces a singleton, which is almost always correct — but for stateful beans (@RequestScope, @SessionScope, prototype-scoped builders) the default is wrong. Flag for review when the bean's nature suggests a scope decision is in order.

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