Find !x.isNotEmpty() calls
Proprietary!x.isNotEmpty() is the long form of x.isEmpty(). Use the direct positive call.
org. openrewrite. kotlin. bestpractices. FindNegatedIsNotEmpty$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. bestpractices. FindNegatedIsNotEmpty$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.