@NotNull
  public static List<ExtensionPoint> getExtensionPointCandidates(Project project, GlobalSearchScope scope) {
    List<ExtensionPoint> result = new ArrayList<>();

    List<String> allKeys = new ArrayList<>();
    FileBasedIndex.getInstance().processAllKeys(NAME, key -> {
      allKeys.add(key);
      return true;
    }, scope, null);

    for (String key : allKeys) {
      ContainerUtil.addIfNotNull(result, findExtensionPoint(project, scope, key));
    }

    return result;
  }
@NotNull
  public static List<ExtensionPoint> getExtensionPointCandidates(Project project, GlobalSearchScope scope)