public static @NotNull Color getForeground(@NotNull JList<?> list, boolean selected) {
    return selected ? getSelectionForeground(list) : getForeground(list);
  }
public static @NotNull Color getForeground(@NotNull JList<?> list, boolean selected)