< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocPretty.java

Print this page

        

@@ -127,10 +127,23 @@
         UncheckedIOException(IOException e) {
             super(e.getMessage(), e);
         }
     }
 
+    @Override
+    public Void visitAccessor(AccessorTree node, Void aVoid) {
+        try {
+            print("{");
+            printTagName(node);
+            print(node.getDescription());
+            print("}");
+        } catch (IOException e) {
+            throw new UncheckedIOException(e);
+        }
+        return null;
+    }
+
     @Override @DefinedBy(Api.COMPILER_TREE)
     public Void visitAttribute(AttributeTree node, Void p) {
         try {
             print(node.getName());
             String quote;
< prev index next >