Class ReflectionEventFireHandler.ListenerMethod

java.lang.Object
org.cloudburstmc.server.event.firehandler.ReflectionEventFireHandler.ListenerMethod
All Implemented Interfaces:
Comparable<org.cloudburstmc.api.event.EventFireHandler.ListenerMethod>, org.cloudburstmc.api.event.EventFireHandler.ListenerMethod
Enclosing class:
ReflectionEventFireHandler

public static class ReflectionEventFireHandler.ListenerMethod extends Object implements org.cloudburstmc.api.event.EventFireHandler.ListenerMethod
  • Constructor Details

    • ListenerMethod

      public ListenerMethod()
  • Method Details

    • run

      public void run(org.cloudburstmc.api.event.Event event) throws InvocationTargetException, IllegalAccessException
      Specified by:
      run in interface org.cloudburstmc.api.event.EventFireHandler.ListenerMethod
      Throws:
      InvocationTargetException
      IllegalAccessException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getListener

      public Object getListener()
      Specified by:
      getListener in interface org.cloudburstmc.api.event.EventFireHandler.ListenerMethod
    • getMethod

      public Method getMethod()
      Specified by:
      getMethod in interface org.cloudburstmc.api.event.EventFireHandler.ListenerMethod
    • compareTo

      public int compareTo(@Nonnull org.cloudburstmc.api.event.EventFireHandler.ListenerMethod o)
      Specified by:
      compareTo in interface Comparable<org.cloudburstmc.api.event.EventFireHandler.ListenerMethod>