handlerOf

public M handlerOf(EventClass eventClass, MessageClass<?> originClass)

Obtains the method which handles the passed event class.

Throws

if there is no such method in the class