模块  jdk.javadoc
软件包  com.sun.javadoc

Interface AnnotatedType

  • All Superinterfaces:
    Type

    @Deprecated(since="9",
                forRemoval=true)
    public interface AnnotatedType
    extends Type
    Deprecated, for removal: This API element is subject to removal in a future version.
    The declarations in this package have been superseded by those in the package jdk.javadoc.doclet. For more information, see the Migration Guide in the documentation for that package.
    表示带注释的类型。 例如:
      @NonNull String
          @Positive int 
    从以下版本开始:
    1.8
    • 方法详细信息

      • annotations

        AnnotationDesc[] annotations()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回与此类型关联的注释。
        结果
        与此类型关联的注释
      • underlyingType

        Type underlyingType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回基础类型。
        结果
        基础类型