public class StaticMethodCallExpression extends Expression implements MethodCall
Constructor and Description |
---|
StaticMethodCallExpression(ClassNode type,
String method,
Expression arguments) |
Modifier and Type | Method and Description |
---|---|
Expression |
getArguments() |
MetaMethod |
getMetaMethod() |
String |
getMethod() |
String |
getMethodAsString() |
ClassNode |
getOwnerType() |
ASTNode |
getReceiver() |
String |
getText() |
void |
setMetaMethod(MetaMethod metaMethod) |
void |
setOwnerType(ClassNode ownerType) |
String |
toString() |
Expression |
transformExpression(ExpressionTransformer transformer)
Return a copy of the expression calling the transformer on any nested expressions
|
void |
visit(GroovyCodeVisitor visitor) |
getType, setType, transformExpressions, transformExpressions
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public StaticMethodCallExpression(ClassNode type, String method, Expression arguments)
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
public ASTNode getReceiver()
getReceiver
in interface MethodCall
public String getMethodAsString()
getMethodAsString
in interface MethodCall
public Expression getArguments()
getArguments
in interface MethodCall
public String getMethod()
public String getText()
getText
in interface MethodCall
getText
in class ASTNode
public ClassNode getOwnerType()
public void setOwnerType(ClassNode ownerType)
public void setMetaMethod(MetaMethod metaMethod)
public MetaMethod getMetaMethod()