static String determineValidatorName(Class<?> clazz) {
        String name = clazz.getSimpleName();
        return name.endsWith("Validator") ? name.substring(0, name.length() - "Validator".length()) : name;
    }
Determines the name of a validator based on a class name.

<p>This method returns the simple name of a class and strips off
"Validator" from the end of the name if present.

@param clazz Class to determine the validator name of.
@return Returns the validator name based on heuristics.
smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidatorService.java