|
Groovy Documentation | |||||||
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)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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)
Groovy Documentation