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

Interface AnnotationDesc.ElementValuePair

  • Enclosing interface:
    AnnotationDesc

    @Deprecated(since="9",
                forRemoval=true)
    public static interface AnnotationDesc.ElementValuePair
    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.
    表示注释类型元素与其中一个值之间的关联。
    从以下版本开始:
    1.5
    • 方法详细信息

      • element

        AnnotationTypeElementDoc element()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回注释类型元素。
        结果
        注释类型元素。
      • value

        AnnotationValue value()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回与注释类型元素关联的值。
        结果
        与注释类型元素关联的值。