com.sun.javadoc.Doc.seeTags()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(149)

本文整理了Java中com.sun.javadoc.Doc.seeTags()方法的一些代码示例,展示了Doc.seeTags()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Doc.seeTags()方法的具体详情如下:
包路径:com.sun.javadoc.Doc
类名称:Doc
方法名:seeTags

Doc.seeTags介绍

[英]Return the see also tags in this Doc item.
[中]

代码示例

代码示例来源:origin: konsoletyper/teavm-javac

/**
   * {@inheritDoc}
   */
  public Content getTagletOutput(Doc holder, TagletWriter writer) {
    SeeTag[] tags = holder.seeTags();
    if (tags.length == 0 && holder instanceof MethodDoc) {
      DocFinder.Output inheritedDoc =
        DocFinder.search(new DocFinder.Input((MethodDoc) holder, this));
      if (inheritedDoc.holder != null) {
        tags = inheritedDoc.holder.seeTags();
      }
    }
    return writer.seeTagOutput(holder, tags);
  }
}

代码示例来源:origin: uk.org.retep.doclet/core

/**
   * {@inheritDoc}
   */
  public TagletOutput getTagletOutput(Doc holder, TagletWriter writer) {
    SeeTag[] tags = holder.seeTags();
    if (tags.length == 0 && holder instanceof MethodDoc) {
      DocFinder.Output inheritedDoc =
        DocFinder.search(new DocFinder.Input((MethodDoc) holder, this));
      if (inheritedDoc.holder != null) {
        tags = inheritedDoc.holder.seeTags();
      }
    }
    return writer.seeTagOutput(holder, tags);
  }
}

相关文章