For inline code in Javadocs,you should use {@code your-code-here}
See javadoc – {@code text}
for more details.
Equivalent to
<code>{@literal text}</code>
.Displays text in
code
font without interpreting the text as HTML markup or nested javadoc tags. ..