Annotation Interface LoadingPriority


@Retention(RUNTIME) @Target({FIELD,TYPE}) public @interface LoadingPriority
An annotation that determines the loading priority of the annotated value.

Higher values are loaded sooner. If the annotated value is a class, all instances will inherit its priority unless specified by another LoadingPriority annotation.

Since:
1.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The default loading priority.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The value's loading priority.
  • Field Details

    • DEFAULT

      static final int DEFAULT
      The default loading priority.
      Since:
      1.0.0
      See Also:
  • Element Details

    • value

      int value
      The value's loading priority.
      Returns:
      The value's loading priority.
      Since:
      1.0.0