< prev index next >

## src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/NewTree.java

Print this page

    @@ -33,12 +33,16 @@
      *   new <em>identifier</em> ( )
      *
      *   new <em>identifier</em> ( <em>arguments</em> )
      * </pre>
      *
    + * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
    + * are deprecated with the intent to remove them in a future release.
    + *
      * @since 9
      */
    +@Deprecated(since="11", forRemoval=true)
     public interface NewTree extends ExpressionTree {
         /**
          * Returns the constructor expression of this 'new' expression.
          *
          * @return the constructor expression of this 'new' expression

< prev index next >