|
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.groovyism.ExplicitCallToEqualsMethodRule
class ExplicitCallToEqualsMethodRule extends AbstractAstVisitorRule
This rule detects when the equals(Object) method is called directly in code instead of using the == or != operator. A groovier way to express this: a.equals(b) is this: a == b and a groovier way to express : !a.equals(b) is : a != b
Property Summary | |
---|---|
Class |
astVisitorClass
|
boolean |
ignoreThisReference
|
String |
name
|
int |
priority
|
Property Detail |
---|
Class astVisitorClass
boolean ignoreThisReference
String name
int priority
Groovy Documentation