--- a/langtools/src/jdk.compiler/share/classes/com/sun/source/util/DocTreeFactory.java Sat Apr 09 19:49:59 2016 +0100
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/source/util/DocTreeFactory.java Sun Apr 10 08:41:00 2016 -0700
@@ -42,6 +42,7 @@
import com.sun.source.doctree.EndElementTree;
import com.sun.source.doctree.EntityTree;
import com.sun.source.doctree.ErroneousTree;
+import com.sun.source.doctree.HiddenTree;
import com.sun.source.doctree.IdentifierTree;
import com.sun.source.doctree.IndexTree;
import com.sun.source.doctree.InheritDocTree;
@@ -156,6 +157,13 @@
ThrowsTree newExceptionTree(ReferenceTree name, List<? extends DocTree> description);
/**
+ * Create a new {@code HiddenTree} object, to represent an {@code {@hidden } } tag.
+ * @param text the content of the tag
+ * @return a {@code HiddenTree} object
+ */
+ HiddenTree newHiddenTree(List<? extends DocTree> text);
+
+ /**
* Create a new {@code IdentifierTree} object, to represent an identifier, such as in a
* {@code @param } tag.
* @param name the name of the identifier