Class MethodHandleEventExecutor
java.lang.Object
com.destroystokyo.paper.event.executor.MethodHandleEventExecutor
- All Implemented Interfaces:
EventExecutor
-
Field Summary
Fields inherited from interface org.bukkit.plugin.EventExecutor
eventExecutorMap
-
Constructor Summary
ConstructorDescriptionMethodHandleEventExecutor
(@NotNull Class<? extends Event> eventClass, @NotNull MethodHandle handle) -
Method Summary
-
Constructor Details
-
MethodHandleEventExecutor
-
MethodHandleEventExecutor
-
-
Method Details
-
execute
public void execute(@NotNull @NotNull Listener listener, @NotNull @NotNull Event event) throws EventException - Specified by:
execute
in interfaceEventExecutor
- Throws:
EventException
-
toString
-