Find multiple @Autowired constructors

Proprietary

Finds classes with more than one @Autowired constructor where at least one of them is required. Spring only allows several autowired constructors when all of them set required = false.

io.moderne.java.spring.framework.FindMultipleAutowiredConstructors
mod run . --recipe=io.moderne.java.spring.framework.FindMultipleAutowiredConstructors

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.