< prev index next >
src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java
Print this page
*** 29,40 ****
--- 29,44 ----
/**
* Represents the abstract syntax tree for compilation units (source
* files)
*
+ * @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 CompilationUnitTree extends Tree {
/**
* Return the list of source elements in this compilation unit.
*
* @return the list of source elements in this compilation unit
< prev index next >