public class CallbacksUtil extends Object
| Constructor and Description |
|---|
CallbacksUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getCallbackPriority(Callback callback)
Returns priority of callback.
|
protected static void |
insertCallbackToList(Callback callback,
List<Callback> list) |
static boolean |
isAnnotationPresent(javassist.CtMethod method,
Class<? extends Annotation> annotation)
Checks if annotation is present on method
|
public static boolean isAnnotationPresent(javassist.CtMethod method,
Class<? extends Annotation> annotation)
method - Method to checkannotation - Annotation to look forpublic static int getCallbackPriority(Callback callback)
CallbackPriority, and returns
.CallbackPriority.DEFAULT_PRIORITY-CallbackPriority.getPriority()
CallbackPriority.DEFAULT_PRIORITYcallback - priority to get fromCopyright © 2014–2015. All rights reserved.