Find !x.isEmpty() calls
ProprietaryKotlin ships isNotEmpty() directly on String, Collection, and Map. The negation reads top-down without re-parsing the !.
org. openrewrite. kotlin. bestpractices. FindNegatedIsEmpty$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. bestpractices. FindNegatedIsEmpty$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.