void (@NotNull CompletionResultSet result, String propertyName) { if (!validIdentifiersOnly || VALID_IDENTIFIER_PATTERN.matcher(propertyName).matches()) { result.addElement(PrioritizedLookupElement.withPriority( LookupElementBuilder.create(propertyName) .withIcon(AllIcons.Nodes.Field) .withTypeText(JsonPathBundle.message("jsonpath.completion.key")), 100)); } }