org.codehaus.groovy.ast.expr
Class StaticMethodCallExpression
java.lang.Object
org.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.expr.Expression
org.codehaus.groovy.ast.expr.StaticMethodCallExpression
- public class StaticMethodCallExpression
- extends Expression
A static method call on a class
- Version:
- $Revision: 1.4 $
- Author:
- James Strachan
Methods inherited from class org.codehaus.groovy.ast.expr.Expression |
getFailure, getType, getTypeClass, isDynamic, isResolveFailed, isTypeResolved, resolve, setFailure, setResolveFailed, setType, setTypeClass, setTypeResolved, shouldContinue, transformExpressions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ownerType
java.lang.String ownerType
method
private java.lang.String method
arguments
private Expression arguments
metaMethod
private MetaMethod metaMethod
StaticMethodCallExpression
public StaticMethodCallExpression(java.lang.String type,
java.lang.String method,
Expression arguments)
visit
public void visit(GroovyCodeVisitor visitor)
- Overrides:
visit
in class ASTNode
transformExpression
public Expression transformExpression(ExpressionTransformer transformer)
- Description copied from class:
Expression
- Return a copy of the expression calling the transformer on any nested expressions
- Specified by:
transformExpression
in class Expression
- Parameters:
transformer
-
- Returns:
resolveType
protected void resolveType(AsmClassGenerator resolver)
- Specified by:
resolveType
in class Expression
getArguments
public Expression getArguments()
getMethod
public java.lang.String getMethod()
getText
public java.lang.String getText()
- Overrides:
getText
in class ASTNode
toString
public java.lang.String toString()
getOwnerType
public java.lang.String getOwnerType()
setOwnerType
public void setOwnerType(java.lang.String ownerType)
setMetaMethod
public void setMetaMethod(MetaMethod metaMethod)
getMetaMethod
public MetaMethod getMetaMethod()
Copyright © 2003-2005 The Codehaus. All Rights Reserved.