private Icon detectActionIcon(int rowIndex, boolean hovered) {
      if (isProjectInvalid(rowIndex)) {
        return hovered ? AllIcons.Welcome.RecentProjects.RemoveHover : AllIcons.Welcome.RecentProjects.Remove;
      }
      return hovered ? AllIcons.Ide.Notification.GearHover : AllIcons.Ide.Notification.Gear;
    }
private Icon detectActionIcon(int rowIndex, boolean hovered)