public static @NotNull Color getForeground(@NotNull JList<?> list) {
    Color foreground = list.getForeground();
    return foreground != null ? foreground : CurrentTheme.List.FOREGROUND;
  }
public static @NotNull Color getForeground(@NotNull JList<?> list)