Interface NewTree

  • All Superinterfaces:
    ExpressionTree, Tree

    public interface NewTree
    extends ExpressionTree
    A tree node to declare a new instance of a class. For example:
       new identifier ( )
    
       new identifier ( arguments )
     
    Since:
    9
    • Method Detail

      • getConstructorExpression

        ExpressionTree getConstructorExpression()
        Returns the constructor expression of this 'new' expression.
        Returns:
        the constructor expression of this 'new' expression