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.
Constructor and description |
---|
VerifierCodeVisitor
(ClassNode classNode) |
Type Params | Return Type | Name and description |
---|---|---|
|
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) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.