- 
- 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ExpressionTreegetConstructorExpression()Returns the constructor expression of this 'new' expression.- 
Methods inherited from interface jdk.nashorn.api.tree.Treeaccept, getEndPosition, getKind, getStartPosition
 
- 
 
- 
- 
- 
Method Detail- 
getConstructorExpressionExpressionTree getConstructorExpression() Returns the constructor expression of this 'new' expression.- Returns:
- the constructor expression of this 'new' expression
 
 
- 
 
-