code: public EventQueueDefinition getQueueForClass(Class<? extends Event> clazz) {
  		for (EventQueueDefinition d : definitions) {
  			if (d.getEventType() == clazz) {
  				return d;
  			}
  		}
  		
  		return null;
  	}
docs: Gets the EventQueueDefinition for the given class. If no event queue has
  been created for the given class, {@code null} is returned. Note that
  this will not return superclasses of the given class, only exact matches.
  @param clazz The class to search for
  @return the event queue for the given class