Event Subscriber Class
public final class EventSubscriberClass<S extends EventSubscriber> extends ModelClass<T> implements EventReceiverClass, SubscribingClass
Provides type information on an EventSubscriber class.
Parameters
<S>
the type of event subscribers
Functions
Link copied to clipboard
public static EventSubscriberClass<S> asEventSubscriberClass<S extends EventSubscriber>(Class<S> cls)
Creates new instance for the passed raw class.
Link copied to clipboard
Obtains a set of domestic events which this class receives.
Link copied to clipboard
Obtains a set of external events which this class receives.
Link copied to clipboard
public ImmutableSet<SubscriberMethod> subscribersOf(EventClass eventClass, MessageClass<?> originClass)
Obtains all subscriber methods that handle the passed event class.
Inherited functions
Link copied to clipboard
protected static ModelClass<T> get<T, M extends ModelClass<T>>(Class<T> rawClass, Class<M> requestedModelClass, Supplier<ModelClass<T>> supplier)
Obtains the model class for the passed raw class.
Link copied to clipboard
Obtains a method that handles the passed class of events.