|
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.ast.ClassCodeVisitorSupport org.codehaus.groovy.control.StaticVerifier
public class StaticVerifier extends ClassCodeVisitorSupport
Verifier to check non-static access in static contexts
Method Summary | |
---|---|
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)
|
Method Detail |
---|
@Override protected SourceUnit getSourceUnit()
public void visitClass(ClassNode node, SourceUnit source)
@Override public void visitClosureExpression(ClosureExpression ce)
@Override public void visitConstructorCallExpression(ConstructorCallExpression cce)
@Override public void visitConstructorOrMethod(MethodNode node, boolean isConstructor)
@Override public void visitMethodCallExpression(MethodCallExpression mce)
@Override public void visitPropertyExpression(PropertyExpression pe)
@Override public void visitVariableExpression(VariableExpression ve)
Copyright © 2003-2013 The Codehaus. All rights reserved.