Package com.puppycrawl.tools.checkstyle.checks.design
Contains the Class Design checks that
are bundled with the main distribution.
-
Class Summary Class Description DesignForExtensionCheck The check finds classes that are designed for extension (subclass creation).FinalClassCheck Checks that class which has only private ctors is declared as final.HideUtilityClassConstructorCheck Make sure that utility classes (classes that contain only static methods) do not have a public constructor.InnerTypeLastCheck Check nested (internal) classes/interfaces are declared at the bottom of the class after all method and field declarations.InterfaceIsTypeCheck Implements Bloch, Effective Java, Item 17 - Use Interfaces only to define types.MutableExceptionCheck Ensures that exceptions (classes with names conforming to some regular expression and explicitly extending classes with names conforming to other regular expression) are immutable.OneTopLevelClassCheck Checks that each top-level class, interface or enum resides in a source file of its own.ThrowsCountCheck Restricts throws statements to a specified count (default = 4).VisibilityModifierCheck Checks visibility of class members.