void (@NotNull FindModel findModel, @NotNull Project project, @NotNull ProgressIndicator progressIndicator, @NotNull FindUsagesProcessPresentation processPresentation, @NotNull Set<? extends @NotNull VirtualFile> filesToStart, @NotNull Processor<? super UsageInfo> consumer) { Runnable runnable = () -> new FindInProjectTask(findModel, project, filesToStart, false).findUsages(processPresentation, consumer); ProgressManager.getInstance().executeProcessUnderProgress(runnable, progressIndicator); }