Class AnnotationEventMapper
java.lang.Object
org.polyfrost.oneconfig.api.event.v1.invoke.impl.AnnotationEventMapper
- All Implemented Interfaces:
EventCollector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<EventHandler<?>> Take an object and collect any valid event handlers that may exist inside the object
-
Constructor Details
-
AnnotationEventMapper
public AnnotationEventMapper()
-
-
Method Details
-
collect
Description copied from interface:EventCollectorTake an object and collect any valid event handlers that may exist inside the object- Specified by:
collectin interfaceEventCollector- Returns:
- a list of handlers or null if the object cannot be collected by this collector
-