Annotation Interface Nullable


@Documented @Target(PARAMETER) public @interface Nullable
Indicates that a method parameter can accept null values.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    An optional description or reason for the parameter being nullable.
  • Element Details

    • value

      String value
      An optional description or reason for the parameter being nullable.
      Returns:
      A string providing additional context about the nullability.
      Default:
      ""