public Builder dependencies(SymbolDependencyContainer container) {
            this.dependencies.clear();
            return addDependency(container);
        }
Replaces the symbol dependencies of the symbol.

@param container Dependencies to set.
@return Returns the builder.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/Symbol.java