Annotation Interface IndexedEnum


@Target(TYPE) public @interface IndexedEnum
Specifies that the annotated enum has an int ID parameter which must match the enum constant's ordinal
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Returns the parameter index of the ID parameter.
  • Element Details

    • value

      int value
      Returns the parameter index of the ID parameter.
      Returns:
      the parameter index of the ID parameter
      Default:
      0