インタフェース
com.sun.source.doctree.DocCommentTreeの使用
-
DocCommentTreeを使用しているパッケージ パッケージ 説明 com.sun.source.doctree ドキュメンテーション・コメントを抽象構文ツリー(AST)として表すためのインタフェースを提供します。com.sun.source.util 抽象構文ツリー(Abstract Syntax Tree、AST)の操作のためのユーティリティを提供します。 -
-
com.sun.source.doctreeでのDocCommentTreeの使用
DocCommentTree型のパラメータを持つcom.sun.source.doctreeのメソッド 修飾子と型 メソッド 説明 RDocTreeVisitor. visitDocComment(DocCommentTree node, P p)DocCommentTreeノードにアクセスします。 -
com.sun.source.utilでのDocCommentTreeの使用
DocCommentTreeを返すcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 DocCommentTreeDocTreePath. getDocComment()このパスに関連付けられているDocCommentTreeを返します。abstract DocCommentTreeDocTrees. getDocCommentTree(TreePath path)指定されたTreePathで識別されるツリー・ノードのドキュメント・コメント・ツリー(ある場合)を返します。abstract DocCommentTreeDocTrees. getDocCommentTree(Element e)指定された要素のdocコメント・ツリーを返します。abstract DocCommentTreeDocTrees. getDocCommentTree(Element e, String relativePath)指定された要素に対して相対的にパスが指定されている、指定されたファイルのdocコメント・ツリーを返します。abstract DocCommentTreeDocTrees. getDocCommentTree(FileObject fileObject)指定されたファイルのdocコメント・ツリーを返します。DocCommentTreeDocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags)完全なドキュメント・コメントを表す新しいDocCommentTreeオブジェクトを作成します。DocCommentTreeDocTreeFactory. newDocCommentTree(List<? extends DocTree> fullBody, List<? extends DocTree> tags, List<? extends DocTree> preamble, List<? extends DocTree> postamble)enitireドキュメント・コメントを表す新しいDocCommentTreeオブジェクトを作成します。DocCommentTree型のパラメータを持つcom.sun.source.utilのメソッド 修飾子と型 メソッド 説明 longDocSourcePositions. getEndPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)ファイル内のコメント内のツリーの終了位置を返します。static DocTreePathDocTreePath. getPath(TreePath treePath, DocCommentTree doc, DocTree target)コンパイル・ユニット内のツリー・ノードのドキュメント・ツリー・パスを返します。ノードが見つからない場合はnullを返します。longDocSourcePositions. getStartPosition(CompilationUnitTree file, DocCommentTree comment, DocTree tree)ファイル内のコメント内のツリーの開始位置を返します。abstract voidDocTrees. printMessage(Diagnostic.Kind kind, CharSequence msg, DocTree t, DocCommentTree c, CompilationUnitTree root)指定されたコンパイル単位内のツリーの位置に、指定された種類のメッセージを出力しますRDocTreeScanner. visitDocComment(DocCommentTree node, P p)DocCommentTreeノードにアクセスします。RSimpleDocTreeVisitor. visitDocComment(DocCommentTree node, P p)DocCommentTreeノードにアクセスします。DocCommentTree型のパラメータを持つcom.sun.source.utilのコンストラクタ コンストラクタ 説明 DocTreePath(TreePath treePath, DocCommentTree t)ルート・ノードのDocTreePathを作成します。
-