Find abstract class declarations without abstract members
ProprietaryAn abstract class with no abstract members and no state offers nothing over interface — and interface composes better (multiple inheritance, no constructor coupling). If the class is being used as a marker, consider sealed interface for stronger exhaustiveness checks.
org. openrewrite. kotlin. bestpractices. FindAbstractClassWithoutMembers$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. bestpractices. FindAbstractClassWithoutMembers$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.