public class MethodHandleEventExecutor extends Object implements EventExecutor
eventExecutorMap
Constructor and Description |
---|
MethodHandleEventExecutor(@NotNull Class<? extends Event> eventClass,
@NotNull Method m) |
MethodHandleEventExecutor(@NotNull Class<? extends Event> eventClass,
@NotNull MethodHandle handle) |
Modifier and Type | Method and Description |
---|---|
void |
execute(@NotNull Listener listener,
@NotNull Event event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public MethodHandleEventExecutor(@NotNull @NotNull Class<? extends Event> eventClass, @NotNull @NotNull MethodHandle handle)
public void execute(@NotNull @NotNull Listener listener, @NotNull @NotNull Event event) throws EventException
execute
in interface EventExecutor
EventException
Copyright © 2021. All rights reserved.