Module jdk.compiler

Interface NewClassTree

All Superinterfaces:
ExpressionTree, Tree

public interface NewClassTree extends ExpressionTree
A tree node to declare a new instance of a class. For example:
   new identifier ( )

   new identifier ( arguments )

   new typeArguments identifier ( arguments )
       classBody

   enclosingExpression.new identifier ( arguments )
 
See Java Language Specification:
15.9 Class Instance Creation Expressions
Since:
1.6