< prev index next >

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

Print this page

    *** 32,43 ****
    --- 32,47 ----
       * <pre>
       *   return;
       *   return <em>expression</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 ReturnTree extends StatementTree {
          /**
           * Returns the expression being returned. This is null if no value
           * is being returned. i.e., empty return statement.
           *

< prev index next >