Class MethodHandleEventHandler

java.lang.Object
com.sk89q.worldedit.util.eventbus.EventHandler
com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler
All Implemented Interfaces:
Comparable<EventHandler>

public class MethodHandleEventHandler extends EventHandler
  • Constructor Details

    • MethodHandleEventHandler

      protected MethodHandleEventHandler(EventHandler.Priority priority, Object object, MethodHandle methodHandle, String methodName)
      Create a new event handler that uses MethodHandles to dispatch.
      Parameters:
      priority - the priority
      object - The object to invoke it on
      methodHandle - The handle to invoke
      methodName - The name of the method (for equality checks)
  • Method Details