< prev index next >

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

Print this page

        

@@ -27,12 +27,16 @@
 import java.util.List;
 
 /**
  * A tree node that represents a <a href="http://www.ecma-international.org/ecma-262/6.0/#sec-class-definitions">class declaration</a>.
  *
+ * @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 ClassDeclarationTree extends StatementTree {
 
     /**
      * Class identifier.
      *
< prev index next >