void (@NotNull GroovyMapContentProvider contentProvider, @NotNull GrExpression qualifier, @Nullable PsiElement resolve, @NotNull CompletionResultSet result) { for (String key : contentProvider.getKeyVariants(qualifier, resolve)) { LookupElement lookup = LookupElementBuilder.create(key); lookup = PrioritizedLookupElement.withPriority(lookup, 1); result.addElement(lookup); } }