Class EventClassValidator
java.lang.Object
org.polyfrost.oneconfig.api.event.v1.internal.EventClassValidator
Validates that a class handlers are registered for is a concrete event type that can actually be posted.
Abstract parent types such as
TickEvent are never posted directly, so handlers for them would
silently never fire.-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable StringdescribeProblem(Class<?> cls) static void
-
Method Details
-
validate
-
describeProblem
-