@Nullable
  public Object getChosenElement() {
    final List<Object> elements = getChosenElements();
    return elements.size() == 1 ? elements.get(0) : null;
  }
@Nullable
  public Object getChosenElement()