code: public void addChoice (Object choice)
      {
          String name = (choice == null) ? "null" : choice.toString();
          addChoice(new Choice(name, choice));
      }
docs: Add the specified object as a choice. The name will be the
  toString() of the object.