kemitix-checkstyle-ruleset/builder/src/main/resources/rules/AbstractClassName.md

260 B

The name of an abstract class must start with Abstract. Classes that start with Abstract must be abstract.

Valid:

abstract class AbstractCardHand implements CardHand {}

Invalid:

abstract class BaseCardHand implements CardHand {}