private static @Nullable TabInfo updatePresentation(TabInfo info, Content content) {
    if (info == null) {
      return null;
    }

    return info.
      setIcon(content.getIcon()).
      setText(content.getDisplayName()).
      setTooltipText(content.getDescription()).
      setActionsContextComponent(content.getActionsContextComponent()).
      setActions(content.getActions(), content.getPlace()).
      setTabColor(content.getTabColor());
  }
private static @Nullable TabInfo updatePresentation(TabInfo info, Content content)