Class ConstructorCallExpression

java.lang.Object
All Implemented Interfaces:
GroovydocHolder<AnnotatedNode>, MethodCall, NodeMetaDataHandler

public class ConstructorCallExpression
extends Expression
implements MethodCall
A constructor call.
  • Constructor Details

    • ConstructorCallExpression

      public ConstructorCallExpression​(ClassNode type, Expression arguments)
  • Method Details

    • visit

      public void visit​(GroovyCodeVisitor visitor)
      Overrides:
      visit in class ASTNode
    • transformExpression

      public Expression transformExpression​(ExpressionTransformer transformer)
      Description copied from class: Expression
      Return a copy of the expression calling the transformer on any nested expressions
      Specified by:
      transformExpression in class Expression
    • getReceiver

      public ASTNode getReceiver()
      Specified by:
      getReceiver in interface MethodCall
    • getMethodAsString

      public java.lang.String getMethodAsString()
      Specified by:
      getMethodAsString in interface MethodCall
    • getArguments

      public Expression getArguments()
      Specified by:
      getArguments in interface MethodCall
    • getText

      public java.lang.String getText()
      Specified by:
      getText in interface MethodCall
      Overrides:
      getText in class ASTNode
    • isSpecialCall

      public boolean isSpecialCall()
    • isSuperCall

      public boolean isSuperCall()
    • isThisCall

      public boolean isThisCall()
    • isUsingAnonymousInnerClass

      public boolean isUsingAnonymousInnerClass()
    • setUsingAnonymousInnerClass

      public void setUsingAnonymousInnerClass​(boolean usage)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object