Inspectopedia 2025.3 Help

Javadoc declaration problems

Reports Javadoc comments and tags with the following problems:

  • invalid tag names

  • incomplete tag descriptions

  • duplicated tags

  • missing Javadoc descriptions

Example:

/** * Invalid tag name * @poram param description */ public void sample(int param){ }

Example:

/** * Pointing to itself {@link #sample(int)} */ public void sample(int param){ }

Quick-fix adds the unknown Javadoc tag to the list of user defined additional tags.

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

javadoc
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Java | Javadoc

Inspection ID: JavadocDeclaration

Inspection options

Here you can find the description of settings available for the Javadoc declaration problems inspection, and the reference of their default values.

Additional Javadoc tags

Option ID:

ADDITIONAL_TAGS

Default value:

None
Ignore duplicate 'throws' tag

Option ID:

IGNORE_THROWS_DUPLICATE

Default value:

Selected
Ignore period problems

Option ID:

IGNORE_PERIOD_PROBLEM

Default value:

Selected
Ignore Javadoc pointing to itself

Option ID:

IGNORE_SELF_REFS

Default value:

Not selected
Ignore elements marked as @deprecated

Option ID:

IGNORE_DEPRECATED_ELEMENTS

Default value:

Not selected
Ignore Javadoc syntax errors

Option ID:

IGNORE_SYNTAX_ERRORS

Default value:

Not selected

Suppressing Inspection

You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:

//noinspection javadoc

More detailed instructions as well as other ways and options that you have can be found in the product documentation:

Inspection Details

By default bundled with:

IntelliJ IDEA 2025.3, Qodana for JVM 2025.3,

Last modified: 03 December 2025