Rename Event#eventType to Event#value for more concise usage

This commit is contained in:
2021-02-15 13:42:20 +01:00
parent 9b1c708514
commit cd2e7ad023
6 changed files with 34 additions and 25 deletions

View File

@ -40,7 +40,7 @@ public class EventProcessor extends AbstractProcessor {
// Determine how the event type is defined
boolean useParameter;
try {
eventAnnotation.eventType();
eventAnnotation.value();
throw new EventBusException(
"Could not determine event type of handler " + eventHandler);
} catch (MirroredTypeException e) {