@Override
            public void visitIdSegment(@NotNull JsonPathIdSegment o) {
              super.visitIdSegment(o);

              JsonPathId id = o.getId();
              if (!id.getTextRange().isEmpty()) {
                String literalText = getElementTextWithoutHostEscaping(id);
                if (!StringUtil.isEmptyOrSpaces(literalText)) {
                  pathNameConsumer.accept(literalText);
                }
              }
            }
@Override
            public void visitIdSegment(@NotNull JsonPathIdSegment o)