| Constructor and Description |
|---|
RunnableHandler(java.lang.Class<?> owner,
java.lang.Object instance,
EventHandler annotation,
java.lang.Runnable runnable) |
| Modifier and Type | Method and Description |
|---|---|
void |
call(java.lang.Object event)
Call the event handler with the given event instance
|
java.lang.Runnable |
getRunnable() |
getAnnotation, getInstance, getOwner, isStaticpublic RunnableHandler(@Nonnull
java.lang.Class<?> owner,
@Nullable
java.lang.Object instance,
@Nonnull
EventHandler annotation,
@Nonnull
java.lang.Runnable runnable)
owner - The owner of the handler methodinstance - The instance of the handler ownerannotation - The EventHandler annotation of the handler methodrunnable - The handler runnable