boolean (final Project project, PsiFile file, final Editor editor, @NotNull PsiElement element) { List<PsiJavaCodeReferenceElement> dequalifiedElements = new ArrayList<>(); boolean conflicts = addStaticImports(file, element, dequalifiedElements); if (editor != null) { ApplicationManager.getApplication().invokeLater(() -> { if (collectChangedPlaces(project, editor, dequalifiedElements)) { WindowManager.getInstance().getStatusBar(project).setInfo(RefactoringBundle.message("press.escape.to.remove.the.highlighting")); } }, project.getDisposed()); } return conflicts; }