public <R2 extends DomainObjectChangeRecord, B2 extends AbstractDomainObjectListenerBuilder<R2, B2>> B2 with(
			Class<R2> clazz) {

		activeRecordType = clazz;
		@SuppressWarnings("unchecked")
		B2 newSelf = (B2) self();
		return newSelf;
	}
Allows for specifying a new record type that any follow on consumers will use for any
defined "each" handlers.
@param <R2> the new record type
@param <B2> the new builder type that expects consumers of the new record type
@param clazz the class of the new record type
@return this builder with its consumer record type changed
Ghidra/Framework/Project/src/main/java/ghidra/framework/model/AbstractDomainObjectListenerBuilder.java