boolean (@NotNull Ref<UsageInfo[]> refUsages) { MultiMap<PsiElement, String> conflicts = new MultiMap<>(); UsageInfo[] usages = refUsages.get(); if (!ProgressManager.getInstance().runProcessWithProgressSynchronously(() -> ReadAction.run(() -> MoveFileHandler.detectConflicts(myElementsToMove, usages, myNewParent, conflicts)), RefactoringBundle.message("detecting.possible.conflicts"), true, myProject)) { return false; } return showConflicts(conflicts, usages); }