Interface for Groovy AST Visitors used with Rules
Type Params | Return Type | Name and description |
---|---|---|
|
List<Violation> |
getViolations() Retrieve the List of Violations resulting from applying this visitor |
|
void |
setRule(Rule rule) Set the Rule associated with this visitor |
|
void |
setSourceCode(SourceCode sourceCode) Set the SourceCode associated with this visitor |
Methods inherited from class | Name |
---|---|
interface org.codehaus.groovy.ast.GroovyClassVisitor |
org.codehaus.groovy.ast.GroovyClassVisitor#visitField(org.codehaus.groovy.ast.FieldNode), org.codehaus.groovy.ast.GroovyClassVisitor#visitMethod(org.codehaus.groovy.ast.MethodNode), org.codehaus.groovy.ast.GroovyClassVisitor#visitClass(org.codehaus.groovy.ast.ClassNode), org.codehaus.groovy.ast.GroovyClassVisitor#visitProperty(org.codehaus.groovy.ast.PropertyNode), org.codehaus.groovy.ast.GroovyClassVisitor#visitConstructor(org.codehaus.groovy.ast.ConstructorNode) |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Retrieve the List of Violations resulting from applying this visitor
Set the Rule associated with this visitor
rule
- - the RuleSet the SourceCode associated with this visitor
sourceCode
- - the SourceCode