langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocTreeMaker.java
changeset 34567 c74f68484156
parent 33424 e6bd5406e2cf
child 35346 c0614a805fad
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocTreeMaker.java	Wed Dec 09 12:50:41 2015 -0800
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocTreeMaker.java	Tue Dec 01 07:10:35 2015 -0800
@@ -50,6 +50,7 @@
 import com.sun.tools.javac.tree.DCTree.DCEntity;
 import com.sun.tools.javac.tree.DCTree.DCErroneous;
 import com.sun.tools.javac.tree.DCTree.DCIdentifier;
+import com.sun.tools.javac.tree.DCTree.DCIndex;
 import com.sun.tools.javac.tree.DCTree.DCInheritDoc;
 import com.sun.tools.javac.tree.DCTree.DCLink;
 import com.sun.tools.javac.tree.DCTree.DCLiteral;
@@ -224,6 +225,12 @@
         return tree;
     }
 
+    public DCIndex Index(DCTree term, List<DCTree> description) {
+        DCIndex tree = new DCIndex(term, description);
+        tree.pos = pos;
+        return tree;
+    }
+
     public DCInheritDoc InheritDoc() {
         DCInheritDoc tree = new DCInheritDoc();
         tree.pos = pos;