public Collection<PsiElement> getJetExtensionFunctionsByName( @NotNull String name, @NotNull GlobalSearchScope scope) { HashSet<PsiElement> functions = new HashSet<PsiElement>(); functions.addAll(JetExtensionFunctionNameIndex.getInstance().get(name, project, scope)); functions.addAll( JetFromJavaDescriptorHelper.getTopExtensionFunctionPrototypesByName(name, project, scope)); return functions; }