@Override
    public <R> R accept(NodeVisitor<R> visitor) {
        return visitor.arrayNode(this);
    }
A regex used to extract the expected class in a ClassCastException.

<p>This regex covers the following known cases:

"Cannot cast X to Y"
"class X cannot be cast to class Y ..."
smithy-model/src/main/java/software/amazon/smithy/model/node/ArrayNode.java