|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.ast.CodeVisitorSupport org.codehaus.groovy.classgen.VerifierCodeVisitor
public class VerifierCodeVisitor extends CodeVisitorSupport
Performs various checks on code inside methods and constructors including checking for valid field, variables names etc. that would otherwise lead to invalid code.
Method Summary | |
---|---|
static void
|
assertValidIdentifier(String name, String message, ASTNode node)
|
void
|
visitConstructorCallExpression(ConstructorCallExpression call)
|
void
|
visitFieldExpression(FieldExpression expression)
|
void
|
visitForLoop(ForStatement expression)
|
void
|
visitListExpression(ListExpression expression)
|
void
|
visitVariableExpression(VariableExpression expression)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public static void assertValidIdentifier(String name, String message, ASTNode node)
public void visitConstructorCallExpression(ConstructorCallExpression call)
public void visitFieldExpression(FieldExpression expression)
public void visitForLoop(ForStatement expression)
public void visitListExpression(ListExpression expression)
public void visitVariableExpression(VariableExpression expression)
Copyright © 2003-2013 The Codehaus. All rights reserved.