< prev index next >

src/jdk.compiler/share/classes/com/sun/source/util/DocTreeFactory.java

Print this page

        

*** 29,46 **** --- 29,48 ---- import javax.lang.model.element.Name; import javax.tools.Diagnostic; import javax.tools.JavaFileObject; + import com.sun.source.doctree.AccessorTree; import com.sun.source.doctree.AttributeTree; import com.sun.source.doctree.AttributeTree.ValueKind; import com.sun.source.doctree.AuthorTree; import com.sun.source.doctree.CommentTree; import com.sun.source.doctree.DeprecatedTree; import com.sun.source.doctree.DocCommentTree; import com.sun.source.doctree.DocRootTree; import com.sun.source.doctree.DocTree; + import com.sun.source.doctree.DocTree.Kind; import com.sun.source.doctree.DocTypeTree; import com.sun.source.doctree.EndElementTree; import com.sun.source.doctree.EntityTree; import com.sun.source.doctree.ErroneousTree; import com.sun.source.doctree.HiddenTree;
*** 233,242 **** --- 235,251 ---- * @return a {@code LiteralTree} object */ LiteralTree newLiteralTree(TextTree text); /** + * Create a new {@code AccessorTree} object, to represent a {@code @getter} tag. + * @param description the content of the tag + * @return a {@code AccessorTree} object + */ + AccessorTree newAccessorTree(Kind kind, List<? extends DocTree> description); + + /** * Create a new {@code ParamTree} object, to represent a {@code @param } tag. * @param isTypeParameter true if this is a type parameter, and false otherwise * @param name the parameter being described * @param description the description of the parameter * @return a {@code ParamTree} object
< prev index next >