|
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.ast.ClassCodeExpressionTransformer org.codehaus.groovy.control.StaticImportVisitor
public class StaticImportVisitor extends ClassCodeExpressionTransformer
Visitor to resolve constants and method calls from static Imports
Method Summary | |
---|---|
protected SourceUnit
|
getSourceUnit()
|
Expression
|
transform(Expression exp)
|
protected Expression
|
transformBinaryExpression(BinaryExpression be)
|
protected Expression
|
transformClosureExpression(ClosureExpression ce)
|
protected Expression
|
transformConstructorCallExpression(ConstructorCallExpression cce)
|
protected Expression
|
transformMethodCallExpression(MethodCallExpression mce)
|
protected Expression
|
transformPropertyExpression(PropertyExpression pe)
|
protected Expression
|
transformVariableExpression(VariableExpression ve)
|
void
|
visitAnnotations(AnnotatedNode node)
|
void
|
visitClass(ClassNode node, SourceUnit source)
|
protected void
|
visitConstructorOrMethod(MethodNode node, boolean isConstructor)
|
Method Detail |
---|
protected SourceUnit getSourceUnit()
public Expression transform(Expression exp)
protected Expression transformBinaryExpression(BinaryExpression be)
protected Expression transformClosureExpression(ClosureExpression ce)
protected Expression transformConstructorCallExpression(ConstructorCallExpression cce)
protected Expression transformMethodCallExpression(MethodCallExpression mce)
protected Expression transformPropertyExpression(PropertyExpression pe)
protected Expression transformVariableExpression(VariableExpression ve)
@Override public void visitAnnotations(AnnotatedNode node)
public void visitClass(ClassNode node, SourceUnit source)
@Override protected void visitConstructorOrMethod(MethodNode node, boolean isConstructor)
Copyright © 2003-2013 The Codehaus. All rights reserved.