public class ConstructorCallExpression extends Expression implements MethodCall
EMPTY_ARRAYDOC_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, transformExpressionsaddAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, getGroovydoc, getInstance, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSyntheticcopyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getMetaDataMap, hashCode, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setMetaDataMap, setSourcePositionclone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitcopyNodeMetaData, getNodeMetaData, getNodeMetaData, getNodeMetaData, putNodeMetaData, removeNodeMetaData, setNodeMetaDatapublic ConstructorCallExpression(ClassNode type, Expression arguments)
public void visit(GroovyCodeVisitor visitor)
public Expression transformExpression(ExpressionTransformer transformer)
ExpressiontransformExpression in class Expressionpublic ASTNode getReceiver()
getReceiver in interface MethodCallpublic String getMethodAsString()
getMethodAsString in interface MethodCallpublic Expression getArguments()
getArguments in interface MethodCallpublic String getText()
getText in interface MethodCallgetText in class ASTNodepublic boolean isSpecialCall()
public boolean isSuperCall()
public boolean isThisCall()
public boolean isUsingAnonymousInnerClass()
public void setUsingAnonymousInnerClass(boolean usage)