private static String getReplacementAddendum(String matchedText, List<String> replacements) {
        List<String> caseCorrectedEntryValue = replacements.stream()
                .map(replacement -> Character.isUpperCase(matchedText.charAt(0))
                        ? StringUtils.capitalize(replacement)
                        : StringUtils.uncapitalize(replacement))
                .collect(Collectors.toList());
        String replacementAddendum = !replacements.isEmpty()
                ? String.format(" Consider using one of the following terms instead: %s",
                        ValidationUtils.tickedList(caseCorrectedEntryValue))
                : "";
        return replacementAddendum;
    }
Generates zero or more @see ValidationEvents and returns them in a collection.

@param instance text occurrence found in the body of the model
smithy-linters/src/main/java/software/amazon/smithy/linters/NoninclusiveTermsValidator.java