DefaultHandler (final Supplier<? extends Reader> readerSupplier, GeneralTestEventsProcessor processor) { for (ImportTestOutputExtension extension : EP_NAME.getExtensionList()) { Reader reader = readerSupplier.get(); if (reader == null) continue; try { DefaultHandler handler = extension.createHandler(reader, processor); if (handler != null) return handler; } catch (IOException ignored) { } } return new ImportedTestContentHandler(processor); }