ExtendedInfoComponent () { SETab tab = myHeader.getSelectedTab(); com.intellij.util.Function<SearchEverywhereContributor<?>, @Nullable ExtendedInfo> extendedInfoFunction = it -> it instanceof SearchEverywhereExtendedInfoProvider ? ((SearchEverywhereExtendedInfoProvider)it).createExtendedInfo() : null; boolean isExtendedInfoAvailable = !ContainerUtil.mapNotNull(tab.getContributors(), extendedInfoFunction).isEmpty(); return ALL_CONTRIBUTORS_GROUP_ID.equals(tab.getID()) || isExtendedInfoAvailable ? new ExtendedInfoComponent(myProject, new ExtendedInfoImpl(tab.getContributors())) : null; }