public Builder references(List<SymbolReference> references) {
            this.references.clear();
            references.forEach(this::addReference);
            return this;
        }
Replaces the symbol references to the symbol.

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