< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/tree/DocTreeMaker.java

Print this page

        

*** 53,62 **** --- 53,63 ---- import com.sun.tools.javac.api.JavacTrees; import com.sun.tools.javac.parser.ParserFactory; import com.sun.tools.javac.parser.ReferenceParser; import com.sun.tools.javac.parser.Tokens.Comment; import com.sun.tools.javac.parser.Tokens.Comment.CommentStyle; + import com.sun.tools.javac.tree.DCTree.DCAccessor; import com.sun.tools.javac.tree.DCTree.DCAttribute; import com.sun.tools.javac.tree.DCTree.DCAuthor; import com.sun.tools.javac.tree.DCTree.DCComment; import com.sun.tools.javac.tree.DCTree.DCDeprecated; import com.sun.tools.javac.tree.DCTree.DCDocComment;
*** 359,368 **** --- 360,376 ---- tree.pos = pos; return tree; } @Override @DefinedBy(Api.COMPILER_TREE) + public DCAccessor newAccessorTree(Kind kind, List<? extends DocTree> desc) { + DCAccessor tree = new DCAccessor(kind, desc); + tree.pos = pos; + return tree; + } + + @Override @DefinedBy(Api.COMPILER_TREE) public DCParam newParamTree(boolean isTypeParameter, IdentifierTree name, List<? extends DocTree> description) { DCParam tree = new DCParam(isTypeParameter, (DCIdentifier) name, cast(description)); tree.pos = pos; return tree; }
< prev index next >