public static @NotNull List<Object[]> removeSelectedItems(@NotNull JTable table) {
    return removeSelectedItems(table, null);
  }
public static @NotNull List<Object[]> removeSelectedItems(@NotNull JTable table)