List<LookupElement> (PsiElement position, PsiJavaReference ref) { JavaCompletionProcessor processor = new JavaCompletionProcessor(position, TrueFilter.INSTANCE, JavaCompletionProcessor.Options.CHECK_NOTHING, Conditions.alwaysTrue()); ref.processVariants(processor); return ContainerUtil.map(processor.getResults(), (completionResult) -> { LookupElement item = createReferenceLookupItem(completionResult.getElement()); item.putUserData(JavaCompletionUtil.FORCE_SHOW_SIGNATURE_ATTR, Boolean.TRUE); return item; }); }