annotation, instance, owner| Constructor and Description |
|---|
ReflectionHandler(java.lang.Class<?> owner,
java.lang.Object instance,
EventHandler annotation,
java.lang.reflect.Method method) |
| Modifier and Type | Method and Description |
|---|---|
void |
call(java.lang.Object event)
Call the event handler with the given event instance.
|
java.lang.String |
toString() |
getAnnotation, getInstance, getOwner, isStatic, shouldHandleCancelledpublic ReflectionHandler(java.lang.Class<?> owner,
@Nullable
java.lang.Object instance,
EventHandler annotation,
java.lang.reflect.Method method)
owner - The owner of the handler methodinstance - The instance of the handler ownerannotation - The EventHandler annotation of the handler methodmethod - The handler methodpublic void call(java.lang.Object event)
AHandler