public static NamedScopesHolder @NotNull [] getAllNamedScopeHolders(@NotNull Project project) {
    return new NamedScopesHolder[]{
      NamedScopeManager.getInstance(project),
      DependencyValidationManager.getInstance(project)
    };
  }
public static NamedScopesHolder @NotNull [] getAllNamedScopeHolders(@NotNull Project project)