Example #1
0
 @Override
 public void invoke(Event event) {
   if (handler != null) {
     if (!event.isCancelable() || !event.isCanceled() || subInfo.receiveCanceled()) {
       handler.invoke(event);
     }
   }
 }
Example #2
0
 public EventPriority getPriority() {
   return subInfo.priority();
 }