boolean (@NotNull Project project, @NotNull MultiMap<PsiElement, @DialogMessage String> conflicts) { if (conflicts.isEmpty()) return true; if (ApplicationManager.getApplication().isUnitTestMode()) { if (BaseRefactoringProcessor.ConflictsInTestsException.isTestIgnore()) return true; throw new BaseRefactoringProcessor.ConflictsInTestsException(conflicts.values()); } ConflictsDialogBase conflictsDialog = RefactoringUiService.getInstance().createConflictsDialog(project, conflicts, null, true, true); return conflictsDialog.showAndGet(); }