void (List<LookupElement> item, @NotNull Path reportPath) { File dir = reportPath.toFile(); dir.mkdirs(); File file = new File(dir, createTestReportFilename()); CompletionItemsReport report = new CompletionItemsReport(ContainerUtil.map(item, CompletionVariant::fromLookUp)); DataDumper.dump(report, file.toPath()); }