// Generated by delombok at Tue Dec 16 19:34:43 UTC 2025
package net.md_5.bungee.event;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

public class EventHandlerMethod {
    private final Object listener;
    private final Method method;

    public void invoke(Object event) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException {
        method.invoke(listener, event);
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public EventHandlerMethod(final Object listener, final Method method) {
        this.listener = listener;
        this.method = method;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Object getListener() {
        return this.listener;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Method getMethod() {
        return this.method;
    }
}
