equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2016, 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. |
437 indent(); |
437 indent(); |
438 out.println("]"); |
438 out.println("]"); |
439 return null; |
439 return null; |
440 } |
440 } |
441 |
441 |
|
442 public Void visitHidden(HiddenTree node, Void p) { |
|
443 header(node); |
|
444 indent(+1); |
|
445 print("body", node.getBody()); |
|
446 indent(-1); |
|
447 indent(); |
|
448 out.println("]"); |
|
449 return null; |
|
450 } |
|
451 |
442 public Void visitIdentifier(IdentifierTree node, Void p) { |
452 public Void visitIdentifier(IdentifierTree node, Void p) { |
443 header(node, compress(node.getName().toString())); |
453 header(node, compress(node.getName().toString())); |
444 return null; |
454 return null; |
445 } |
455 } |
446 |
456 |