void (@NotNull List<? extends InspectionContext> init) { if (!StatisticsUploadAssistant.isCollectAllowedOrForced()) return; Set<String> inspectionIdsReportedProblems = new HashSet<>(); InspectionProblemHolder holder; for (InspectionContext context : init) { holder = context.holder; if (holder.anyProblemWasReported()) { inspectionIdsReportedProblems.add(context.tool.getID()); } } InspectionUsageFUSStorage.getInstance(myPsiFile.getProject()).reportInspectionsWhichReportedProblems(inspectionIdsReportedProblems); }