public class ConstructorCallExpression extends Expression implements MethodCall
EMPTY_ARRAY
DOC_COMMENT
Constructor and Description |
---|
ConstructorCallExpression(ClassNode type,
Expression arguments) |
Modifier and Type | Method and Description |
---|---|
Expression |
getArguments() |
String |
getMethodAsString() |
ASTNode |
getReceiver() |
String |
getText() |
boolean |
isSpecialCall() |
boolean |
isSuperCall() |
boolean |
isThisCall() |
boolean |
isUsingAnonymousInnerClass() |
void |
setUsingAnonymousInnerClass(boolean usage) |
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, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePosition
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
copyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaData
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 String getMethodAsString()
getMethodAsString
in interface MethodCall
public Expression getArguments()
getArguments
in interface MethodCall
public String getText()
getText
in interface MethodCall
getText
in class ASTNode
public boolean isSpecialCall()
public boolean isSuperCall()
public boolean isThisCall()
public boolean isUsingAnonymousInnerClass()
public void setUsingAnonymousInnerClass(boolean usage)