staticEventCache

private val staticEventCache: Cache<Class<*>, List<Class<out Event>>>

Tracks which event types each static subscriber class handles.

Unlike objectEventCache, this cache stores strong references to subscriber classes rather than instances. Static handlers do not participate in garbage-collection–based cleanup and must be explicitly removed via unsubscribeStatic.

Each key corresponds to a class containing one or more static (or @JvmStatic in Kotlin companions) methods annotated with EventHandler, and the associated value lists all event types that the class handles.