/** * Get jet extensions top-level function names. Method is allowed to give invalid names - all * result should be checked with getAllJetExtensionFunctionsByName(). * * @return */ @NotNull public Collection<String> getAllJetExtensionFunctionsNames(@NotNull GlobalSearchScope scope) { Set<String> extensionFunctionNames = new HashSet<String>(); extensionFunctionNames.addAll(JetExtensionFunctionNameIndex.getInstance().getAllKeys(project)); extensionFunctionNames.addAll( JetFromJavaDescriptorHelper.getTopExtensionFunctionNames(project, scope)); return extensionFunctionNames; }