void (@NotNull FileTypeConsumer consumer) { factoryWasCalled.set(true); consumer.consume(ownType); for (String nextExtension : extensionsForXml) { consumer.consume(anyExistingType, nextExtension); } }