void (@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); } } }