private static Color getGotItBorderColorEnd(JComponent c) {
    if (isDefaultButton(c)) {
      return JBUI.CurrentTheme.Button.buttonOutlineColorEnd(true);
    }
    if (isContrastGotIt(c)) {
      return JBUI.CurrentTheme.GotItTooltip.buttonBackgroundContrast();
    }
    if (isContrastGotItOnlyButton(c)) {
      return JBUI.CurrentTheme.GotItTooltip.buttonBackgroundContrastOnlyButton();
    }
    return JBColor.namedColor("GotItTooltip.Button.endBorderColor",
                              JBUI.CurrentTheme.Button.buttonOutlineColorEnd(false));
  }
private static Color getGotItBorderColorEnd(JComponent c)