public interface IGenerator
AHandler classes| 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(@Nonnull java.lang.Class<?> owner, @Nullable java.lang.Object instance, @Nonnull EventHandler annotation, @Nonnull java.lang.reflect.Method method, @Nonnull java.lang.Class<?> arg)
AHandler for the given method with an event parameterowner - 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(@Nonnull java.lang.Class<?> owner, @Nullable java.lang.Object instance, @Nonnull EventHandler annotation, @Nonnull java.lang.reflect.Method method)
AHandler for the given method without an event parameterowner - The owner of the handler methodinstance - The instance of the handler ownerannotation - The EventHandler annotation of the handler methodmethod - The handler method