void (@NotNull Processor<? super String> processor, @NotNull GlobalSearchScope scope, @Nullable IdFilter filter) { FileBasedIndex fileIndex = FileBasedIndex.getInstance(); StubIndex stubIndex = StubIndex.getInstance(); if (!fileIndex.processAllKeys(PyModuleNameIndex.NAME, processor, scope, filter)) return; if (!stubIndex.processAllKeys(PyClassNameIndex.KEY, processor, scope, filter)) return; if (!stubIndex.processAllKeys(PyFunctionNameIndex.KEY, processor, scope, filter)) return; if (!stubIndex.processAllKeys(PyVariableNameIndex.KEY, processor, scope, filter)) return; if (!stubIndex.processAllKeys(PyClassAttributesIndex.KEY, processor, scope, filter)) return; }