public Builder clearReferences() {
            references.clear();
            return this;
        }
Builder use to create the references trait.
smithy-model/src/main/java/software/amazon/smithy/model/traits/ReferencesTrait.java