Block a user
Event Handler Exception Handling With Events
Add DeadEvent
I don't, but why unnecessarily obfuscate the type? The fact that this is a tree set is important here as it guarantees the event handler order, so the variable type might as well reflect this.
Add DeadEvent
That's why I use the if statement. I could use a boolean flag instead, but the iterator logic should be more efficient and arguably more readable here.
Define Priority and Polymorphism at Listener Level
9379e6bb94
Merge pull request 'Additional Warnings in Event Bus Proc' (#8) from f/additional-warnings into develop
8a30493c52
Warn about unused event handler return values
b56f08e441
Warn about unnecessarily polymorphic event handlers
Additional Warnings in Event Bus Proc
Additional Warnings in Event Bus Proc
Reimplement Return Value Warning
The @SuppressWarnings
thing isn't easily solvable as of yet, so any user that wants to remove the warning should just suppress it from their IDE.
b56f08e441
Warn about unnecessarily polymorphic event handlers
4a5b94a9b7
Allow event handlers with non-void return type
ffc75d3615
Warn about unnecessarily polymorphic event handlers
b750fe866a
Allow event handlers with non-void return type