Take this example, extracted from org.springframework.util.AntPathMatcher :
/**
* <p>The mapping matches URLs using the following rules:<br>
* <ul>
* <li>{@code {spring:[a-z]+}} matches the regexp {@code [a-z]+} as a path variable named "spring"</li>
* <li>{@code com/{filename:\\w+}.jsp} will match {@code com/test.jsp} and assign the value {@code test}
* to the {@code filename} variable</li>
* </ul>
*/
public class hello {
The javadoc renders the last } in the {@code ...} blocks
Tested with Eclipse Version: 2025-09 (4.37.0), Build id: 20250905-1456