Annotation Interface RegistrationPriority


@Retention(RUNTIME) @Target(FIELD) public @interface RegistrationPriority
Instructs the registration system on the ordering with which to register this value as compared to other fields.

By default, fields without this annotation are assumed to have a priority of 0.

Since:
2.0.0
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The priority of this field.
  • Element Details

    • value

      int value
      The priority of this field.

      Higher priority means that the field will be registered sooner.

      Returns:
      The priority.
      Since:
      2.0.0