L - the listener typepublic interface MethodScanner<L>
| Modifier and Type | Method and Description |
|---|---|
boolean |
consumeCancelledEvents(L listener,
@NonNull java.lang.reflect.Method method)
Gets if cancelled events should be posted to the resultant subscriber.
|
int |
postOrder(L listener,
@NonNull java.lang.reflect.Method method)
Gets the post order the resultant subscriber should be called at.
|
boolean |
shouldRegister(L listener,
@NonNull java.lang.reflect.Method method)
Gets if the factory should generate a subscriber for this method.
|
boolean shouldRegister(L listener, @NonNull java.lang.reflect.Method method)
listener - the listener being scannedmethod - the method declaration being consideredint postOrder(L listener, @NonNull java.lang.reflect.Method method)
listener - the listenermethod - the methodPostOrdersboolean consumeCancelledEvents(L listener, @NonNull java.lang.reflect.Method method)
listener - the listenermethod - the method