Find throw RuntimeException("…") calls
ProprietarySame family as throw Exception("...") — flag for replacement with IllegalArgumentException/IllegalStateException/domain-specific subclass.
org. openrewrite. kotlin. bestpractices. FindBareRuntimeExceptionThrow$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. bestpractices. FindBareRuntimeExceptionThrow$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.