Package net.md_5.bungee.event

# Class EventHandlerMethod

java.lang.Object
net.md_5.bungee.event.EventHandlerMethod

public class EventHandlerMethod extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventHandlerMethod(Object listener, Method method)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getListener()`
  `Method`
  `getMethod()`
  `void`
  `invoke(Object event)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EventHandlerMethod

    public EventHandlerMethod(Object listener, Method method)

- ## Method Details

  - ### invoke

    public void invoke(Object event) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
    Throws:
      `IllegalAccessException`
      `IllegalArgumentException`
      `InvocationTargetException`

  - ### getListener

    public Object getListener()

  - ### getMethod

    public Method getMethod()