public static Icon getIconFromType(TaskType type, boolean issue) {
    return switch (type) {
      case BUG -> TasksIcons.Bug;
      case EXCEPTION -> TasksIcons.Exception;
      case FEATURE -> AllIcons.Nodes.Favorite;
      case OTHER -> issue ? AllIcons.FileTypes.Any_type : EmptyIcon.ICON_0;
    };
  }
public static Icon getIconFromType(TaskType type, boolean issue)