Abstract superclass for AST Visitor classes that deal with constructor calls
Type Params | Return Type | Name and description |
---|---|---|
|
protected java.lang.String |
getViolationMessage(org.codehaus.groovy.ast.expr.ConstructorCallExpression call) |
|
protected boolean |
isConstructorCallAViolation(org.codehaus.groovy.ast.expr.ConstructorCallExpression constructorCall) Subclasses must implement to return true if the visited constructor call causes a rule violation |
|
void |
visitConstructorCallExpression(org.codehaus.groovy.ast.expr.ConstructorCallExpression constructorCall) |
Methods inherited from class | Name |
---|---|
class AbstractAstVisitor |
addViolation, addViolation, getCurrentClassName, getCurrentClassNode, getRule, getSourceCode, getSourceUnit, getViolations, getVisited, isFirstVisit, isGeneratedCode, isNotGeneratedCode, lastSourceLine, lastSourceLineTrimmed, setRule, setSourceCode, setVisited, shouldVisitMethod, sourceLine, sourceLineTrimmed, visitClass, visitClassComplete, visitClassEx, visitMethod, visitMethodComplete, visitMethodEx |
Subclasses must implement to return true if the visited constructor call causes a rule violation