docs: private <T> void registerProcessor(T processor, String model,
  			boolean onlyCurrentRevisions,
  			Map<ListenerRegistration, List<T>> processors) {
  		this.preferCurrent = this.preferCurrent && onlyCurrentRevisions;
  
  		ListenerRegistration listenerRegistration = new ListenerRegistration(
  				model, onlyCurrentRevisions);
  		if (!processors.containsKey(listenerRegistration)) {
  			processors.put(listenerRegistration, new ArrayList<>());
  		}
  
  		processors.get(listenerRegistration).add(processor);
  	}