@ParametersAreNonnullByDefault
public interface IGenerator
AHandler implementations.| Modifier and Type | Method and Description |
|---|---|
AHandler |
generate(java.lang.Class<?> owner,
java.lang.Object instance,
EventHandler annotation,
java.lang.reflect.Method method,
java.lang.Class<?> arg)
Generate an
AHandler for the given method with an event parameter. |
AHandler |
generateVirtual(java.lang.Class<?> owner,
java.lang.Object instance,
EventHandler annotation,
java.lang.reflect.Method method)
Generate an
AHandler for the given method without an event parameter. |
@Nonnull AHandler generate(java.lang.Class<?> owner, @Nullable java.lang.Object instance, EventHandler annotation, java.lang.reflect.Method method, java.lang.Class<?> arg)
AHandler for the given method with an event parameter.owner - The owner of the handler methodinstance - The instance of the handler ownerannotation - The EventHandler annotation of the handler methodmethod - The handler methodarg - The event class@Nonnull AHandler generateVirtual(java.lang.Class<?> owner, @Nullable java.lang.Object instance, EventHandler annotation, java.lang.reflect.Method method)
AHandler for the given method without an event parameter.owner - The owner of the handler methodinstance - The instance of the handler ownerannotation - The EventHandler annotation of the handler methodmethod - The handler method