< prev index next >

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

Print this page

        

@@ -37,12 +37,16 @@
  *
  *   default :
  *       <em>statements</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 CaseTree extends Tree {
     /**
      * Case expression of this 'case' statement.
      *
      * @return null if and only if this Case is {@code default:}
< prev index next >