void (@NotNull final Collection<? extends PsiElement> elementCollection) { if (elementCollection.isEmpty()) { return; } if (!elementCollection.iterator().next().isPhysical()) return; Editor selectedTextEditor = FileEditorManager.getInstance(ContainerUtil.getFirstItem(elementCollection).getProject()).getSelectedTextEditor(); highlightElements(elementCollection, InspectionGadgetsBundle.message("press.escape.to.remove.highlighting.message"), selectedTextEditor); }