mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
8073100: [javadoc] Provide an ability to suppress document generation for specific elements
Reviewed-by: jjg
This commit is contained in:
parent
0adea15d1b
commit
acf90220b2
23 changed files with 533 additions and 40 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue