@Retention(RUNTIME) @Target(FIELD) public @interface EnumValueDoc
The documentation of an enum value. This annotation is applied to enum constants.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The description of the enum value.
    The String representation of the enum value.
  • Element Details

    • description

      String description
      The description of the enum value.
      Returns:
      the description of the enum value
    • value

      String value
      The String representation of the enum value.
      Returns:
      the String representation of the enum value