Class PreferLiteralJavadocInlineTagCheck

All Implemented Interfaces:
Configurable, Contextualizable

Checks that Javadoc inline tags are preferred over escaping entities. According to OpenJDK Style Guidelines v6 Javadoc inline tags should be preferred over their HTML equivalents. Entities that are flagged by the check are:
  • <
  • >
  • &
  • "
  • '

Reason of only these entities are flagged is given here : Predefined Entities

Not flagged:

  • Content inside <pre> and <code> blocks (code examples)
  • Content inside {@code}, {@literal}, {@snippet} inline tags
Since:
13.11.0