Inspectopedia
 
2024.3

'<code>…</code>' can be replaced with '{@code …}'

Warning
New
Last modified: 03 December 2024

Reports usages of <code> tags in Javadoc comments. Since Java 5, these tags can be replaced with {@code ...} constructs. This allows using angle brackets < and > inside the comment instead of HTML character entities.

Example:

After the quick-fix is applied: