void (@NotNull ProgressIndicator indicator) { indicator.setIndeterminate(false); for (int i = 0; i < allUrls.size(); i++) { String url = allUrls.get(i); VirtualFileManager.getInstance().refreshAndFindFileByUrl(url); indicator.setFraction(((double) i) / allUrls.size()); } }