8073100: [javadoc] Provide an ability to suppress document generation for specific elements

Reviewed-by: jjg
This commit is contained in:
Kumar Srinivasan 2016-04-10 08:41:00 -07:00
parent 0adea15d1b
commit acf90220b2
23 changed files with 533 additions and 40 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -1044,6 +1044,11 @@ public class DPrinter {
return visitTree(node, null);
}
public Void visitHidden(HiddenTree node, Void p) {
printList("body", node.getBody());
return visitBlockTag(node, null);
}
public Void visitIdentifier(IdentifierTree node, Void p) {
printName("name", node.getName());
return visitTree(node, null);