public static @NotNull Color getForeground(@NotNull JTable table, boolean selected) {
    return selected ? getSelectionForeground(table) : getForeground(table);
  }
public static @NotNull Color getForeground(@NotNull JTable table, boolean selected)