Module jdk.compiler

Interface ReturnTree

所有超级接口:
BlockTagTree, DocTree, InlineTagTree

public interface ReturnTree extends BlockTagTree, InlineTagTree
一个@return块标签的树节点。

    @return 描述
    {@return 描述}
 
自Java版本:
1.8
  • Nested Class Summary

    Nested classes/interfaces declared in interface com.sun.source.doctree.DocTree

    DocTree.Kind
  • Method Summary

    Modifier and Type
    Method
    Description
    List<? extends DocTree>
    返回方法返回值的描述。
    default boolean
    返回此实例是否为内联标签。

    Methods declared in interface com.sun.source.doctree.BlockTagTree

    getTagName

    Methods declared in interface com.sun.source.doctree.DocTree

    accept, getKind

    Methods declared in interface com.sun.source.doctree.InlineTagTree

    getTagName
  • Method Details

    • isInline

      default boolean isInline()
      返回此实例是否为内联标签。
      实现要求:
      此实现返回false
      返回:
      如果此实例为内联标签,则返回true,否则返回false
      自Java版本:
      16
    • getDescription

      List<? extends DocTree> getDescription()
      返回方法返回值的描述。
      返回:
      描述