< prev index next >

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

Print this page

        

@@ -35,12 +35,16 @@
  *   switch ( <em>expression</em> ) {
  *     <em>cases</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 SwitchTree extends StatementTree {
     /**
      * Returns the expression on which this statement switches.
      *
      * @return the switch expression
< prev index next >