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