public class StaticVerifier extends ClassCodeVisitorSupport
Constructor and Description |
---|
StaticVerifier() |
Modifier and Type | Method and Description |
---|---|
protected SourceUnit |
getSourceUnit() |
void |
visitClass(ClassNode node,
SourceUnit source) |
void |
visitClosureExpression(ClosureExpression ce) |
void |
visitConstructorCallExpression(ConstructorCallExpression cce) |
void |
visitConstructorOrMethod(MethodNode node,
boolean isConstructor) |
void |
visitMethodCallExpression(MethodCallExpression mce) |
void |
visitPropertyExpression(PropertyExpression pe) |
void |
visitVariableExpression(VariableExpression ve) |
addError, visitAnnotations, visitAssertStatement, visitBlockStatement, visitBreakStatement, visitCaseStatement, visitCatchStatement, visitClass, visitClassCodeContainer, visitConstructor, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitExpressionStatement, visitField, visitForLoop, visitIfElse, visitImports, visitMethod, visitObjectInitializerStatements, visitPackage, visitProperty, visitReturnStatement, visitStatement, visitSwitch, visitSynchronizedStatement, visitThrowStatement, visitTryCatchFinally, visitWhileLoop
visitArgumentlistExpression, visitArrayExpression, visitAttributeExpression, visitBinaryExpression, visitBitwiseNegationExpression, visitBooleanExpression, visitBytecodeExpression, visitCastExpression, visitClassExpression, visitClosureListExpression, visitConstantExpression, visitEmptyStatement, visitFieldExpression, visitGStringExpression, visitListExpression, visitListOfExpressions, visitMapEntryExpression, visitMapExpression, visitMethodPointerExpression, visitNotExpression, visitPostfixExpression, visitPrefixExpression, visitRangeExpression, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitTernaryExpression, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression
public void visitClass(ClassNode node, SourceUnit source)
public void visitVariableExpression(VariableExpression ve)
visitVariableExpression
in interface GroovyCodeVisitor
visitVariableExpression
in class CodeVisitorSupport
public void visitClosureExpression(ClosureExpression ce)
visitClosureExpression
in interface GroovyCodeVisitor
visitClosureExpression
in class CodeVisitorSupport
public void visitConstructorCallExpression(ConstructorCallExpression cce)
visitConstructorCallExpression
in interface GroovyCodeVisitor
visitConstructorCallExpression
in class CodeVisitorSupport
public void visitConstructorOrMethod(MethodNode node, boolean isConstructor)
visitConstructorOrMethod
in class ClassCodeVisitorSupport
public void visitMethodCallExpression(MethodCallExpression mce)
visitMethodCallExpression
in interface GroovyCodeVisitor
visitMethodCallExpression
in class CodeVisitorSupport
public void visitPropertyExpression(PropertyExpression pe)
visitPropertyExpression
in interface GroovyCodeVisitor
visitPropertyExpression
in class CodeVisitorSupport
protected SourceUnit getSourceUnit()
getSourceUnit
in class ClassCodeVisitorSupport