public static void clearFileLevelInspectionResults(@NotNull Project project) {
    final DaemonCodeAnalyzerEx codeAnalyzer = DaemonCodeAnalyzerEx.getInstanceEx(project);
    final PsiManager psiManager = PsiManager.getInstance(project);
    StreamEx.of(FileEditorManager.getInstance(project).getAllEditors())
      .map(editor -> editor.getFile())
      .nonNull()
      .map(file -> ReadAction.compute(() -> psiManager.findFile(file)))
      .nonNull()
      .forEach(file -> {
        codeAnalyzer.cleanFileLevelHighlights(Pass.LOCAL_INSPECTIONS, file);
      });
  }
public static void clearFileLevelInspectionResults(@NotNull Project project)