SEEqualElementsActionType (SEEqualElementsActionType.Replace action) { String recentContributorID = RecentFilesSEContributor.class.getSimpleName(); List<SearchEverywhereFoundElementInfo> updatedList = ContainerUtil.filter( action.getToBeReplaced(), info -> !recentContributorID.equals(info.getContributor().getSearchProviderId()) ); return updatedList.isEmpty() ? SEEqualElementsActionType.Skip.INSTANCE : new SEEqualElementsActionType.Replace(updatedList); }