@SuppressWarnings("unchecked")
		@Override
		public void accept(DomainObjectChangedEvent event, DomainObjectChangeRecord rec) {
			if (recordClass.isInstance(rec)) {
				consumer.accept(event, (RR) rec);
			}
			else {
				Msg.error(this,
					"Registered incorrect record class for event type: " + inceptionInformation);
			}
		}
Class for tracking the record classes and consumers for records of that type. Also
contains inception information if the consumers and record classes don't match up.

@param <RR> The type of record and consumer for this class.
Ghidra/Framework/Project/src/main/java/ghidra/framework/model/AbstractDomainObjectListenerBuilder.java