Reports files containing only one top level class / enum / interface which is named differently than the file.
| Type | Name and description |
|---|---|
void |
applyTo(SourceCode sourceCode, List<Violation> violations) |
String |
classNodeType(org.codehaus.groovy.ast.ClassNode classNode) |