< prev index next >

src/jdk.compiler/share/classes/com/sun/source/util/DocTreeScanner.java

Print this page

        

@@ -487,10 +487,22 @@
     public R visitText(TextTree node, P p) {
         return null;
     }
 
     /**
+     * {@inheritDoc} This implementation returns {@code null}.
+     *
+     * @param node  {@inheritDoc}
+     * @param p  {@inheritDoc}
+     * @return the result of scanning
+     */
+    @Override
+    public R visitAccessor(AccessorTree node, P p) {
+        return scan(node.getDescription(), p);
+    }
+
+    /**
      * {@inheritDoc} This implementation scans the children in left to right order.
      *
      * @param node  {@inheritDoc}
      * @param p  {@inheritDoc}
      * @return the result of scanning
< prev index next >