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) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 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
@ -439,6 +439,16 @@ public class DocCommentTester {
return null;
}
public Void visitHidden(HiddenTree node, Void p) {
header(node);
indent(+1);
print("body", node.getBody());
indent(-1);
indent();
out.println("]");
return null;
}
public Void visitIdentifier(IdentifierTree node, Void p) {
header(node, compress(node.getName().toString()));
return null;