< prev index next >

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

Print this page

        

@@ -26,11 +26,15 @@
 
 import java.util.List;
 
 /**
  * A Tree node for <a href="http://www.ecma-international.org/ecma-262/6.0/#sec-modules">Module information</a>.
+ *
+ * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
+ * are deprecated with the intent to remove them in a future release.
  */
+@Deprecated(since="11", forRemoval=true)
 public interface ModuleTree extends Tree {
     /**
      * Returns the list of import entries.
      *
      * @return the import entries
< prev index next >