void (@NotNull Project project, CommonProblemDescriptor @NotNull [] descriptors, @NotNull List<PsiElement> psiElementsToIgnore, @Nullable Runnable refreshViews) { final Map<String, I18nizedPropertyData<HardcodedStringContextData>> keyValuePairs = new LinkedHashMap<>(); final Set<PsiFile> contextFiles = new LinkedHashSet<>(); ReadAction .nonBlocking(() -> { fillI18nizedPropertyDataMap(project, descriptors, contextFiles, keyValuePairs); if (keyValuePairs.isEmpty()) return null; return I18nizeMultipleStringsDialog.getResourceBundleManager(project, contextFiles); }) .finishOnUiThread(ModalityState.nonModal(), bundleManager -> { if (keyValuePairs.isEmpty()) return; showI18nizeMultipleStringsDialog(project, keyValuePairs, contextFiles, bundleManager); }) .submit(AppExecutorUtil.getAppExecutorService()); }