default void consumeMatches(Model model, StartingContext context, Consumer<ShapeMatch> shapeMatchConsumer) {
        matches(model, context).forEach(shapeMatchConsumer);
    }
Matches a selector to a set of shapes and receives each matched shape
with the variables that were set when the shape was matched.

@param model   Model to select shapes from.
@param context Selector starting environment context.
@param shapeMatchConsumer Receives each matched shape and the vars available when the shape was matched.
smithy-model/src/main/java/software/amazon/smithy/model/selector/Selector.java