@Override
    protected Model transformWithConfig(TransformContext context, Config config) {
        Selector selector = config.getSelector();
        ModelTransformer transformer = context.getTransformer();
        Model model = context.getModel();
        Set<Shape> selected = selector.select(model);
        return transformer.filterShapes(model, selected::contains);
    }
Sets the selector used to filter the shapes.

@param selector The selector used to filter the shapes.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/IncludeShapesBySelector.java