private boolean isSameHintAddedNear(@NotNull String text, int index) {
    return getInfosNear(index).anyMatch(info -> text.equals(info.newText));
  }
private boolean isSameHintAddedNear(@NotNull String text, int index)