protected final void paintHover(Graphics g, JComponent comp, JMenu jMenu, Icon allowedIcon) {
    g.setColor(selectionBackground);
    if (allowedIcon != null && !(UIUtil.isUnderIntelliJLaF() || StartupUiUtil.isUnderDarcula())) {
      g.fillRect(k, 0, jMenu.getWidth() - k, jMenu.getHeight());
    }
    else if (ExperimentalUI.isNewUI() || IdeaPopupMenuUI.isRoundBorder()) {
      paintRoundSelection(g, comp, jMenu.getWidth(), jMenu.getHeight());
    }
    else {
      g.fillRect(0, 0, jMenu.getWidth(), jMenu.getHeight());
    }
  }
protected final void paintHover(Graphics g, JComponent comp, JMenu jMenu, Icon allowedIcon)