Find null-assertion polish opportunities
Proprietary!! operators (including as arguments), requireNotNull / checkNotNull calls without a lazy message, and throw SomeException() without a contextual message inside an elvis.
org. openrewrite. kotlin. idiom. FindNullAssertionPolish$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. idiom. FindNullAssertionPolish$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.
Recipe list
It runs these recipes, in this order.