Skip navigation links
C D E G I M N P R S U 

C

consumeCancelledEvents(L, Method) - Method in class net.kyori.event.method.annotation.DefaultMethodScanner
 
consumeCancelledEvents(L, Method) - Method in interface net.kyori.event.method.MethodScanner
Gets if cancelled events should be posted to the resultant subscriber.
create(Object, Method) - Method in interface net.kyori.event.method.EventExecutor.Factory
Creates an event executor.
create(Object, Method) - Method in class net.kyori.event.method.MethodHandleEventExecutorFactory
 

D

DefaultMethodScanner<L> - Class in net.kyori.event.method.annotation
Implementation of MethodScanner using the built-in Subscribe, IgnoreCancelled and PostOrder annotations.
DefaultMethodScanner() - Constructor for class net.kyori.event.method.annotation.DefaultMethodScanner
 

E

EventExecutor<E,L> - Interface in net.kyori.event.method
Functional interface that can invoke a defined method on a listener object when an event is posted.
EventExecutor.Factory<E,L> - Interface in net.kyori.event.method
Factory for EventExecutors.

G

get() - Static method in class net.kyori.event.method.annotation.DefaultMethodScanner
 

I

IgnoreCancelled - Annotation Type in net.kyori.event.method.annotation
Marks an event subscriber that should not receive events even if they have been cancelled.
invoke(L, E) - Method in interface net.kyori.event.method.EventExecutor
Invokes the appropriate method on the given listener to handle the event.

M

MethodHandleEventExecutorFactory<E,L> - Class in net.kyori.event.method
An executor factory which uses MethodHandles to create event executors.
MethodHandleEventExecutorFactory() - Constructor for class net.kyori.event.method.MethodHandleEventExecutorFactory
 
MethodScanner<L> - Interface in net.kyori.event.method
Determines which methods on a listener should be registered as subscribers, and what properties they should have.
MethodSubscriptionAdapter<L> - Interface in net.kyori.event.method
A subscription adapter for EventBus which supports defining event subscribers as methods in a class.

N

net.kyori.event.method - package net.kyori.event.method
 
net.kyori.event.method.annotation - package net.kyori.event.method.annotation
 

P

postOrder(L, Method) - Method in class net.kyori.event.method.annotation.DefaultMethodScanner
 
PostOrder - Annotation Type in net.kyori.event.method.annotation
Marks the post order of an event subscriber.
postOrder(L, Method) - Method in interface net.kyori.event.method.MethodScanner
Gets the post order the resultant subscriber should be called at.

R

register(L) - Method in interface net.kyori.event.method.MethodSubscriptionAdapter
Registers all methods determined to be valid on the listener to receive events.
register(L) - Method in class net.kyori.event.method.SimpleMethodSubscriptionAdapter
 

S

shouldRegister(L, Method) - Method in class net.kyori.event.method.annotation.DefaultMethodScanner
 
shouldRegister(L, Method) - Method in interface net.kyori.event.method.MethodScanner
Gets if the factory should generate a subscriber for this method.
SimpleMethodSubscriptionAdapter<E,L> - Class in net.kyori.event.method
A simple implementation of a method subscription adapter.
SimpleMethodSubscriptionAdapter(EventBus<E>, EventExecutor.Factory<E, L>) - Constructor for class net.kyori.event.method.SimpleMethodSubscriptionAdapter
 
SimpleMethodSubscriptionAdapter(EventBus<E>, EventExecutor.Factory<E, L>, MethodScanner<L>) - Constructor for class net.kyori.event.method.SimpleMethodSubscriptionAdapter
 
SimpleMethodSubscriptionAdapter.SubscriberGenerationException - Exception in net.kyori.event.method
Exception thrown when a EventSubscriber cannot be generated for a Method at runtime.
Subscribe - Annotation Type in net.kyori.event.method.annotation
Marks a method as an event subscriber.

U

unregister(L) - Method in interface net.kyori.event.method.MethodSubscriptionAdapter
Unregisters all methods on a registered listener.
unregister(L) - Method in class net.kyori.event.method.SimpleMethodSubscriptionAdapter
 
C D E G I M N P R S U 
Skip navigation links