@Override
  public void processNames(final @NotNull Processor<? super String> processor, final @NotNull GlobalSearchScope scope, final @Nullable IdFilter filter) {
    FileBasedIndex fileIndex = FileBasedIndex.getInstance();
    StubIndex stubIndex = StubIndex.getInstance();
    DumbModeAccessType.RAW_INDEX_DATA_ACCEPTABLE.ignoreDumbMode(() -> {
      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;
    });
  }
@Override
  public void processNames(final @NotNull Processor<? super String> processor, final @NotNull GlobalSearchScope scope, final @Nullable IdFilter filter)