|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.rule.AbstractSharedAstVisitorRule
groovy.org.codenarc.rule.unused.UnusedPrivateMethodRule
class UnusedPrivateMethodRule extends AbstractSharedAstVisitorRule
Rule that checks for private methods that are not referenced within the same class. Known limitations:
Property Summary | |
---|---|
String |
name
|
int |
priority
|
Method Summary | |
---|---|
protected AstVisitor
|
getAstVisitor(SourceCode sourceCode)
|
protected List
|
getViolations(AstVisitor visitor, SourceCode sourceCode)
|
Property Detail |
---|
String name
int priority
Method Detail |
---|
@Override protected AstVisitor getAstVisitor(SourceCode sourceCode)
@Override protected List getViolations(AstVisitor visitor, SourceCode sourceCode)
Groovy Documentation