@Override
  public String @NotNull [] getReferencedNames() {
    if (myInfos.length == 0 || shouldSkipSoleObject()) return ArrayUtil.EMPTY_STRING_ARRAY;
    return ContainerUtil.map2Array(myInfos, String.class, info -> info.text());
  }
@Override
  public String @NotNull [] getReferencedNames()