@Override
    public boolean equals(Object other) {
        if (!(other instanceof ReferencesTrait)) {
            return false;
        } else if (other == this) {
            return true;
        } else {
            ReferencesTrait trait = (ReferencesTrait) other;
            return references.equals(trait.references);
        }
    }
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