public Builder addDependency(SymbolDependencyContainer dependency) {
            dependencies.get().addAll(dependency.getDependencies());
            return this;
        }
Add a symbol dependency.

@param dependency Symbol dependency to add.
@return Returns the builder.
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/Symbol.java