< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/IfTree.java

Print this page

        

@@ -37,12 +37,16 @@
  *       <em>thenStatement</em>
  *   else
  *       <em>elseStatement</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 IfTree extends StatementTree {
     /**
      * Returns the condition expression of this 'if' statement.
      *
      * @return the condition expression
< prev index next >