< prev index next >

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

Print this page

    @@ -38,16 +38,20 @@
      * <p> Methods in this class may be overridden subject to their
      * general contract.  Note that annotating methods in concrete
      * subclasses with {@link java.lang.Override @Override} will help
      * ensure that methods are overridden as intended.
      *
    + * @deprecated Nashorn JavaScript script engine and APIs, and the jjs tool
    + * are deprecated with the intent to remove them in a future release.
    + *
      * @param <R> the return type of this visitor's methods.  Use {@link
      *            Void} for visitors that do not need to return results.
      * @param <P> the type of the additional parameter to this visitor's
      *            methods.  Use {@code Void} for visitors that do not need an
      *            additional parameter.
      */
    +@Deprecated(since="11", forRemoval=true)
     public class SimpleTreeVisitorES5_1<R, P> implements TreeVisitor<R, P> {
         @Override
         public R visitAssignment(final AssignmentTree node, final P r) {
             node.getVariable().accept(this, r);
             node.getExpression().accept(this, r);

< prev index next >