@NotNull
  private NamedScopesHolder getHolder(boolean local) {
    return (local
            ? DependencyValidationManager.getInstance(myProject)
            : NamedScopeManager.getInstance(myProject));
  }
@NotNull
  private NamedScopesHolder getHolder(boolean local)