|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.unused.UnusedObjectRule
class UnusedObjectRule extends AbstractAstVisitorRule
Checks for object constructions that are not assigned or used (i.e., ignored). Ignores unassigned objects if the construction is the last statement within a block, because it may be the intentional return value. By default, this rule does not apply to test files.
Property Summary | |
---|---|
Class |
astVisitorClass
|
String |
doNotApplyToFilesMatching
|
String |
name
|
int |
priority
|
Property Detail |
---|
Class astVisitorClass
String doNotApplyToFilesMatching
String name
int priority
Groovy Documentation