equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 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. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
501 } |
501 } |
502 return null; |
502 return null; |
503 } |
503 } |
504 |
504 |
505 @Override @DefinedBy(Api.COMPILER_TREE) |
505 @Override @DefinedBy(Api.COMPILER_TREE) |
|
506 public Void visitSummary(SummaryTree node, Void p) { |
|
507 try { |
|
508 print("{"); |
|
509 printTagName(node); |
|
510 if (!node.getSummary().isEmpty()) { |
|
511 print(" "); |
|
512 print(node.getSummary()); |
|
513 } |
|
514 print("}"); |
|
515 } catch (IOException e) { |
|
516 throw new UncheckedIOException(e); |
|
517 } |
|
518 return null; |
|
519 } |
|
520 |
|
521 @Override @DefinedBy(Api.COMPILER_TREE) |
506 public Void visitText(TextTree node, Void p) { |
522 public Void visitText(TextTree node, Void p) { |
507 try { |
523 try { |
508 print(node.getBody()); |
524 print(node.getBody()); |
509 } catch (IOException e) { |
525 } catch (IOException e) { |
510 throw new UncheckedIOException(e); |
526 throw new UncheckedIOException(e); |