- All Superinterfaces:
ExpressionTree
,Tree
A tree node to declare a new instance of a class.
For example:
new identifier ( ) new identifier ( arguments )
- Since:
- 9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the constructor expression of this 'new' expression.Methods inherited from interface org.openjdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getConstructorExpression
ExpressionTree getConstructorExpression()Returns the constructor expression of this 'new' expression.- Returns:
- the constructor expression of this 'new' expression
-