boolean (@NotNull SearchEverywhereFoundElementInfo newItem, @NotNull SearchEverywhereFoundElementInfo alreadyFoundItem) { AnAction newAction = extractAction(newItem.getElement()); AnAction oldAction = extractAction(alreadyFoundItem.getElement()); return newAction != null && oldAction != null && newAction.equals(oldAction); }