Find methods that only use one DTO data element

MSAL

Find methods that have 'opportunities' for improvement.

org.openrewrite.java.migrate.search.FindDtoOverfetching

Required

The fully qualified name of the DTO.

mod run . --recipe=org.openrewrite.java.migrate.search.FindDtoOverfetching \ -P dtoType='com.example.dto.*'

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