langtools/src/jdk.compiler/share/classes/com/sun/source/util/SimpleDocTreeVisitor.java
changeset 37009 476d8d615222
parent 34916 16043fc1d90b
child 42831 feff6f296019
--- a/langtools/src/jdk.compiler/share/classes/com/sun/source/util/SimpleDocTreeVisitor.java	Sat Apr 09 19:49:59 2016 +0100
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/source/util/SimpleDocTreeVisitor.java	Sun Apr 10 08:41:00 2016 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -208,6 +208,17 @@
      *
      * @param node {@inheritDoc}
      * @param p {@inheritDoc}
+     * @return the result of {@code defaultAction}
+     */
+    public R visitHidden(HiddenTree node, P p) {
+        return defaultAction(node, p);
+    }
+
+    /**
+     * {@inheritDoc} This implementation calls {@code defaultAction}.
+     *
+     * @param node {@inheritDoc}
+     * @param p {@inheritDoc}
      * @return  the result of {@code defaultAction}
      */
     @Override