public final class AnnotationHelper
extends java.lang.Object
| Constructor and Description |
|---|
AnnotationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getPriority(java.lang.annotation.Annotation annotation)
Gets the priority of Annotation
The Annotation must be a Priority(Last, First, Priority) Annotation
|
static int |
getPriority(java.lang.annotation.Annotation[] annotations)
Gets the priority of class
Not all Annotations must be Priority(Last, First, Priority) Annotations
If it founds a Priority Annotation it will not scan the other annotations
|
static int |
getPriority(java.lang.Object object)
Gets the priority of Object based on its annotations
Not all Annotations must be Priority(Last, First, Priority) Annotations
If it founds a Priority Annotation it will not scan the other annotations
|
public static int getPriority(java.lang.annotation.Annotation[] annotations)
public static int getPriority(java.lang.annotation.Annotation annotation)
public static int getPriority(java.lang.Object object)