Order annotation as well as jakarta.annotation.Priority .
Order, jakarta.annotation.Priority
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final Object | NOT_ANNOTATED
Cache marker for a non-annotated Class. |
| pack-priv static final Map | orderCache
Cache for @Order value (or NOT_ANNOTATED marker) per Class. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Integer | |
| public static int | |
| public static Integer | |
| public static Integer | |
| public static Integer | Returns: the order value, ornull if none can be foundthe annotated element (e.g. type or method) element)Return the order declared on the specified |
| pack-priv static Integer | Returns: the order value, ornull if none can be foundthe source element element, MergedAnnotations the annotation to consider annotations)Return the order from the specified annotations collection. |
| public static Integer | Returns: the priority value if the annotation is declared, ornull if nonethe type to handle type)Return the value of the |
| JAVAX_PRIORITY_ANNOTATION | back to summary |
|---|---|
| private static final String JAVAX_PRIORITY_ANNOTATION | |
| NOT_ANNOTATED | back to summary |
|---|---|
| private static final Object NOT_ANNOTATED Cache marker for a non-annotated Class. | |
| orderCache | back to summary |
|---|---|
| pack-priv static final Map<AnnotatedElement, Object> orderCache Cache for @Order value (or NOT_ANNOTATED marker) per Class. | |
| OrderUtils | back to summary |
|---|---|
| public OrderUtils() | |
| findOrder | back to summary |
|---|---|
private static Integer findOrder(MergedAnnotations annotations)
| |
| getOrder | back to summary |
|---|---|
| public static int getOrder(Class<?> type, int defaultOrder) Return the order on the specified Takes care of
| |
| getOrder | back to summary |
|---|---|
| public static Integer getOrder(Class<?> type, Integer defaultOrder) Return the order on the specified Takes care of
| |
| getOrder | back to summary |
|---|---|
| public static Integer getOrder(Class<?> type) Return the order on the specified Takes care of
| |
| getOrder | back to summary |
|---|---|
| public static Integer getOrder(AnnotatedElement element) Return the order declared on the specified Takes care of
| |
| getOrderFromAnnotations | back to summary |
|---|---|
| pack-priv static Integer getOrderFromAnnotations(AnnotatedElement element, MergedAnnotations annotations) Return the order from the specified annotations collection. Takes care of
| |
| getPriority | back to summary |
|---|---|
| public static Integer getPriority(Class<?> type) Return the value of the | |