private static String cleanDescription(final CasReferenceProperty property) {
        var description = property.getDescription();
        var patterns = new ArrayList<String>();
        patterns.add("\\{@link (.+?)\\}");
        patterns.add("\\{@value (\\{*.+?\\}*)\\}");
        patterns.add("\\{@code (\\{*.+?\\}*)\\}");

        for (var pattern : patterns) {
            var matcher = Pattern.compile(pattern).matcher(description);
            try {
                while (matcher.find()) {
                    description = description.replaceFirst(pattern,
                        "<code>" + Matcher.quoteReplacement(matcher.group(1)) + "</code>");
                }
            } catch (final Exception e) {
                throw new RuntimeException(e);
            }
        }
        return description;
    }
This is {@link CasDocumentationApplication}.

@author Misagh Moayyed
@since 6.4.0
docs/cas-server-documentation-processor/src/main/java/org/apereo/cas/documentation/CasDocumentationApplication.java