The check finds classes that are designed for extension (subclass creation).
Checks that a class which has only private constructors is declared as final.
Makes sure that utility classes (classes that contain only static methods or fields in their API) do not have a public constructor.
Check nested (inner) classes/interfaces are declared at the bottom of the class after all method and field declarations.
Implements Joshua Bloch, Effective Java, Item 17 - Use Interfaces only to define types.
Ensures that exception classes (classes with names conforming to some regular expression and explicitly extending classes with names conforming to other regular expression) are immutable, that is, that they have only final fields.
Checks that each top-level class, interface or enum resides in a source file of its own.
Restricts throws statements to a specified count (4 by default).
Checks visibility of class members.
Copyright © 2001–2019. All rights reserved.