A more general solution: {@literal @}
The
{@literal}tag denotes literal text. The enclosed text is interpreted as not containing HTML markup or nested javadoc tags. For example, the doc comment text:{@literal a<B>c}displays in the generated HTML page unchanged:a<B>c— that is, the<B>is not interpreted as bold.
Requires Java 5+