UnnecessaryConstructor.
Checks for exactly one no-parameter constructor that is empty or only calls super(). Ignores private and protected constructors. Ignores constructors with annotations.
| Fields inherited from class | Fields |
|---|---|
class AbstractAstVisitorRule |
CLOSURE_TEXT, DEFAULT_CONST_NAME, DEFAULT_FIELD_NAME, DEFAULT_TEST_CLASS_NAMES, DEFAULT_TEST_FILES, DEFAULT_VAR_NAME |
| Type | Name and description |
|---|---|
java.lang.Class |
astVisitorClass |
boolean |
ignoreAnnotations |
java.lang.String |
name |
int |
priority |