void (@NotNull PsiElement element, @NotNull JsonProperty property, @NotNull CompletionParameters parameters, @NotNull CompletionResultSet result) { if (parameters.getCompletionType() != CompletionType.BASIC) return; if (!ThemeJsonUtil.isInsideUiProperty(property)) return; if (!isPropertyKey(element)) return; String presentNamePart = ThemeJsonUtil.getParentNames(property); boolean shouldSurroundWithQuotes = !element.getText().startsWith("\""); Iterable<LookupElement> lookupElements = getLookupElements(presentNamePart, shouldSurroundWithQuotes); result.addAllElements(lookupElements); }