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 |
---|---|---|
|
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-2022 The Apache Software Foundation. All rights reserved.