< prev index next >

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

Print this page

        

*** 40,55 **** --- 40,59 ---- * <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 SimpleTreeVisitorES6<R, P> extends SimpleTreeVisitorES5_1<R, P> { @Override public R visitCompilationUnit(final CompilationUnitTree node, final P r) { final ModuleTree mod = node.getModule(); if (mod != null) {
< prev index next >