List<LookupElement> (CompletionParameters parameters, Set<ExpectedTypeInfo> expectedInfos, List<LookupElement> refSuggestions) { if (parameters.getCompletionType() == CompletionType.SMART) { return ReferenceExpressionCompletionContributor.smartCompleteReference(refSuggestions, expectedInfos); } return refSuggestions; }