This PR adds an annotation processor to Pore which assumes responsibility for marking event classes containing an annotation (@RegisterEvent) for dynamic registration. In this way, rather than having to enumerate all events which will be registered at runtime in Java code, the respective classes may simply be marked with the annotation for a more elegant solution.
This PR adds an annotation processor to Pore which assumes responsibility for marking event classes containing an annotation (
@RegisterEvent
) for dynamic registration. In this way, rather than having to enumerate all events which will be registered at runtime in Java code, the respective classes may simply be marked with the annotation for a more elegant solution.