Annotation Type Order

    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static int DEFAULT
      Default order value for elements not explicitly annotated with @Order, equal to the value of Integer.MAX_VALUE / 2.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      int value
      The order value for the annotated element (i.e., field or method).
    • Field Detail

      • DEFAULT

        @API(status=EXPERIMENTAL,
             since="5.6")
        static final int DEFAULT
        Default order value for elements not explicitly annotated with @Order, equal to the value of Integer.MAX_VALUE / 2.
        Since:
        5.6
        See Also:
        value()
    • Element Detail

      • value

        int value
        The order value for the annotated element (i.e., field or method).

        Elements are ordered based on priority where a lower value has greater priority than a higher value. For example, Integer.MAX_VALUE has the lowest priority.

        See Also:
        DEFAULT