Groovy Documentation

Package groovy.org.codenarc.rule.naming

 

Class Summary
AbstractClassNameAstVisitor
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.
ClassNameAstVisitor
ClassNameRule Rule that verifies that the name of a class matches a regular expression.
ConfusingMethodNameAstVisitor
ConfusingMethodNameRule This rule traps the condition where two methods or closures differ only by their capitalization.
FactoryMethodNameAstVisitor
FactoryMethodNameRule A factory method is a method that creates objects, and they are typically named either buildFoo(), makeFoo(), or createFoo().
FieldNameAstVisitor
FieldNameRule Rule that verifies that the name of each field matches a regular expression.
InterfaceNameAstVisitor
InterfaceNameRule Rule that verifies that the name of an interface matches a regular expression specified in the regex property.
MethodNameAstVisitor
MethodNameRule Rule that verifies that the name of each method matches a regular expression.
ObjectOverrideMisspelledMethodNameAstVisitor
ObjectOverrideMisspelledMethodNameRule Rule that checks that the names of the most commonly overridden methods: equals, hashCode and toString, are correct.
PackageNameAstVisitor
PackageNameRule Rule that verifies that the package name of a class matches a regular expression.
ParameterNameAstVisitor
ParameterNameRule Rule that verifies that the name of each parameter matches a regular expression.
PropertyNameAstVisitor
PropertyNameRule Rule that verifies that the name of each property matches a regular expression.
ScopedConfusingMethodNameAstVisitor
VariableNameAstVisitor
VariableNameRule Rule that verifies that the name of each variable matches a regular expression.
 


Groovy Documentation