langtools/test/tools/javac/doctree/DocCommentTester.java
changeset 46184 f1325703ea85
parent 42831 feff6f296019
equal deleted inserted replaced
46183:5091e36e106b 46184:f1325703ea85
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   586                 indent();
   586                 indent();
   587                 out.println("]");
   587                 out.println("]");
   588                 return null;
   588                 return null;
   589             }
   589             }
   590 
   590 
       
   591             @Override
       
   592             public Void visitSummary(SummaryTree node, Void p) {
       
   593                 header(node);
       
   594                 indent(+1);
       
   595                 print("summary", node.getSummary());
       
   596                 indent(-1);
       
   597                 indent();
       
   598                 out.println("]");
       
   599                 return null;
       
   600             }
       
   601 
   591             public Void visitText(TextTree node, Void p) {
   602             public Void visitText(TextTree node, Void p) {
   592                 header(node, compress(node.getBody()));
   603                 header(node, compress(node.getBody()));
   593                 return null;
   604                 return null;
   594             }
   605             }
   595 
   606