public class ConstructorCallExpression extends Expression implements MethodCall
Constructor and Description |
---|
ConstructorCallExpression(ClassNode type,
Expression arguments) |
Modifier and Type | Method and Description |
---|---|
Expression |
getArguments() |
java.lang.String |
getMethodAsString() |
ASTNode |
getReceiver() |
java.lang.String |
getText() |
boolean |
isSpecialCall() |
boolean |
isSuperCall() |
boolean |
isThisCall() |
boolean |
isUsingAnonymousInnerClass() |
void |
setUsingAnonymousInnerClass(boolean usage) |
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, transformExpressions
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition
public ConstructorCallExpression(ClassNode type, 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 java.lang.String getMethodAsString()
getMethodAsString
in interface MethodCall
public Expression getArguments()
getArguments
in interface MethodCall
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isSuperCall()
public boolean isSpecialCall()
public boolean isThisCall()
public void setUsingAnonymousInnerClass(boolean usage)
public boolean isUsingAnonymousInnerClass()