Parent Visitor for "ExplicitCallToX" Rules.
| Type | Name and description |
|---|---|
String |
methodName |
| Constructor and description |
|---|
protected ExplicitCallToMethodAstVisitor
(String methodName)@param methodName The method name to watch for. |
| Type | Name and description |
|---|---|
protected String |
getViolationMessage(org.codehaus.groovy.ast.expr.MethodCallExpression exp) |
void |
visitMethodCallExpression(org.codehaus.groovy.ast.expr.MethodCallExpression call) |
methodName - The method name to watch for.Groovy Documentation