public void setSelector(Selector selector) {
            this.selector = selector;
        }
Sets the selector to use for determining which shapes to validate.

@param selector Selector to set.
smithy-linters/src/main/java/software/amazon/smithy/linters/ReservedWordsValidator.java