Class |
Description |
AbstractClassNameRule
|
Rule that verifies that the name of an abstract class matches a regular expression specified in
the regex property. |
AbstractTypeNameAstVisitor
|
Abstract superclass for AstVisitor classes dealing with class/type names, e.g. classes,
interfaces and abstract classes. |
ClassNameRule
|
Rule that verifies that the name of a class matches a regular expression. |
ClassNameSameAsFilenameRule
|
Reports files containing only one top level class / enum / interface which is named differently than the file. |
ClassNameSameAsSuperclassRule
|
Checks for any class that has an identical name to its superclass, other than the package. |
ConfusingMethodNameRule
|
This rule traps the condition where two methods or closures differ only by their capitalization. |
FactoryMethodNameRule
|
A factory method is a method that creates objects, and they are typically named either buildFoo(), makeFoo(), or
createFoo(). |
FieldNameRule
|
Rule that verifies that the name of each field matches a regular expression. |
InterfaceNameRule
|
Rule that verifies that the name of an interface matches a regular expression specified in
the regex property. |
InterfaceNameSameAsSuperInterfaceRule
|
Checks for any interface that has an identical name to its super-interface, other than the package. |
MethodNameRule
|
Rule that verifies that the name of each method matches a regular expression. |
ObjectOverrideMisspelledMethodNameRule
|
Rule that checks that the names of the most commonly overridden methods: equals,
hashCode and toString, are correct. |
PackageNameMatchesFilePathRule
|
A package source file's path should match the package declaration.
|
PackageNameRule
|
Rule that verifies that the package name of a class matches a regular expression. |
ParameterNameRule
|
Rule that verifies that the name of each parameter matches a regular expression. |
PropertyNameRule
|
Rule that verifies that the name of each property matches a regular expression. |
VariableNameRule
|
Rule that verifies that the name of each variable matches a regular expression. |