@Override
    public Builder toBuilder() {
        Builder builder = new Builder().sourceLocation(getSourceLocation());
        references.forEach(builder::addReference);
        return builder;
    }
Gets a list of all references to a particular shape.

@param shapeId Shape ID to search for.

@return Returns the list of found references.
smithy-model/src/main/java/software/amazon/smithy/model/traits/ReferencesTrait.java