public void setReserved(List<ReservedWords> reserved) {
            this.reserved = reserved;
        }
Sets the reserved words to validate.

@param reserved Reserved words to set.
smithy-linters/src/main/java/software/amazon/smithy/linters/ReservedWordsValidator.java