public Builder dependencies(List<SymbolDependency> dependencies) {
            this.dependencies.clear();
            dependencies.forEach(this::addDependency);
            return this;
        }
Replaces the symbol dependencies of the symbol.

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