程序包 org.bukkit

注解 UndefinedNullability


@Retention(CLASS) @Internal @Deprecated(since="1.13.2") public @interface UndefinedNullability
已过时。
通常不应在任何新 API 代码中使用,因为这暗示了不良的 API 设计。
用于标注那些空值性未明确定义的类型,因此既不适用 NotNull 也不适用 Nullable。例如当接口定义了一个方法, 其空值性取决于具体实现时。
  • 可选元素概要

    可选元素
    修饰符和类型
    可选元素
    说明
    已过时。
    人类可读的描述,说明该类型在何种情况下可为空。
  • 元素详细资料

    • value

      String value
      已过时。
      人类可读的描述,说明该类型在何种情况下可为空。
      返回:
      描述信息

      原文:Human readable description of the circumstances, in which the type is nullable.

      默认值:
      ""