private @NlsContexts.TabTitle String getPinnedTabName(MultipleBuildsView buildsView) {
    Map<BuildDescriptor, BuildView> buildsMap = buildsView.getBuildsMap();

    BuildDescriptor buildInfo = buildsMap.keySet()
      .stream()
      .reduce((b1, b2) -> b1.getStartTime() <= b2.getStartTime() ? b1 : b2)
      .orElse(null);
    if (buildInfo != null) {
      @BuildEventsNls.Title String title = buildInfo.getTitle();
      @NlsContexts.TabTitle String viewName = getViewName().split(" ")[0];
      String tabName = viewName + ": " + StringUtil.trimStart(title, viewName);
      if (buildsMap.size() > 1) {
        return LangBundle.message("tab.title.more", tabName, buildsMap.size() - 1);
      }
      return tabName;
    }
    return getViewName();
  }
private @NlsContexts.TabTitle String getPinnedTabName(MultipleBuildsView buildsView)