< prev index next >

test/langtools/tools/javac/doctree/DocCommentTester.java

Print this page

        

@@ -781,10 +781,21 @@
                 else if (s.contains("'") || s.contains(" "))
                     return '"' + s + '"';
                 else
                     return s;
             }
+
+            @Override
+            public Void visitAccessor(AccessorTree node, Void p) {
+                header(node);
+                indent(+1);
+                print("description", node.getDescription());
+                indent(-1);
+                indent();
+                out.println("]");
+                return null;
+            }
         }
     }
 
     /**
      * Verify the reported tree positions by comparing the characters found
< prev index next >