Class AnnotationEventMapper

java.lang.Object
org.polyfrost.oneconfig.api.event.v1.invoke.impl.AnnotationEventMapper
All Implemented Interfaces:
EventCollector

public class AnnotationEventMapper extends Object implements EventCollector
  • Constructor Details

    • AnnotationEventMapper

      public AnnotationEventMapper()
  • Method Details

    • collect

      public List<EventHandler<?>> collect(Object object)
      Description copied from interface: EventCollector
      Take an object and collect any valid event handlers that may exist inside the object
      Specified by:
      collect in interface EventCollector
      Returns:
      a list of handlers or null if the object cannot be collected by this collector