|
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.convention.ParameterReassignmentRule
class ParameterReassignmentRule extends AbstractAstVisitorRule
Checks for a method or closure parameter being reassigned to a new value within the body of the method/closure, which is a confusing, questionable practice. Use a temporary variable instead.
Property Summary | |
---|---|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
Property Detail |
---|
Class astVisitorClass
String name
int priority
Groovy Documentation