< prev index next >

## src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/CompilationUnitTree.java

Print this page

    @@ -29,12 +29,16 @@

     /**
      * 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 >