public class StaticMethodCallExpression extends Expression implements MethodCall
| Constructor and Description |
|---|
StaticMethodCallExpression(ClassNode type,
java.lang.String method,
Expression arguments) |
| Modifier and Type | Method and Description |
|---|---|
Expression |
getArguments() |
MetaMethod |
getMetaMethod() |
java.lang.String |
getMethod() |
java.lang.String |
getMethodAsString() |
ClassNode |
getOwnerType() |
ASTNode |
getReceiver() |
java.lang.String |
getText() |
void |
setMetaMethod(MetaMethod metaMethod) |
void |
setOwnerType(ClassNode ownerType) |
java.lang.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, transformExpressionsaddAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSyntheticcopyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePositionpublic StaticMethodCallExpression(ClassNode type, java.lang.String method, Expression arguments)
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
ExpressiontransformExpression in class Expressionpublic ASTNode getReceiver()
getReceiver in interface MethodCallpublic java.lang.String getMethodAsString()
getMethodAsString in interface MethodCallpublic Expression getArguments()
getArguments in interface MethodCallpublic java.lang.String getMethod()
public java.lang.String getText()
getText in interface MethodCallgetText in class ASTNodepublic java.lang.String toString()
toString in class java.lang.Objectpublic ClassNode getOwnerType()
public void setOwnerType(ClassNode ownerType)
public void setMetaMethod(MetaMethod metaMethod)
public MetaMethod getMetaMethod()