private String uniqueFieldName(String[] candidates) {
    String name = ContainerUtil.find(candidates, myFieldNameGenerator::isUnique);
    if (name == null) {
      name = myFieldNameGenerator.generateUniqueName(candidates[0]);
    }
    myFieldNameGenerator.addExistingName(name);
    return name;
  }
private String uniqueFieldName(String[] candidates)