Package io.papermc.paper.event.executor
Class EventExecutorFactory
java.lang.Object
io.papermc.paper.event.executor.EventExecutorFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic EventExecutor
Returns anEventExecutor
implemented by a hidden class calling a method handle.
-
Method Details
-
create
Returns anEventExecutor
implemented by a hidden class calling a method handle.- Parameters:
method
- the method to be invoked by the created event executoreventClass
- the class of the event to handle- Returns:
- an
EventExecutor
implemented by a hidden class calling a method handle
-