Inspectopedia 2024.3 Help

Javadoc

'<code>…</code>' can be replaced with '{@code …}'   New in this release

Reports usages of <code> tags in Javadoc comments.

'package-info.java' without 'package' statement   New in this release

Reports package-info.java files without a package statement.

'package.html' may be converted to 'package-info.java'   New in this release

Reports any package.html files which are used for documenting packages.

Blank line should be replaced with <p> to break lines   New in this release

Reports blank lines in Javadoc comments.

Comment replaceable with Javadoc   New in this release

Reports a regular comment that belongs to a field, method, or class that can be replaced with a Javadoc comment.

Dangling Javadoc comment   New in this release

Reports Javadoc comments that don't belong to any class, method or field.

Declaration has problems in Javadoc references   New in this release

Reports unresolved references inside Javadoc comments.

HTML problems in Javadoc (DocLint)   New in this release

Reports the same HTML issues in the Javadoc comments that have been reported by DocLint since Java 8.

Javadoc declaration problems   New in this release

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.

Link specified as plain text   New in this release

Reports plain text links in Javadoc comments.

Mismatch between Javadoc and code   New in this release

Reports parts of method specification written in English that contradict with the method declaration.

Missing '@Deprecated' annotation   New in this release

Reports module declarations, classes, fields, or methods that have the @deprecated Javadoc tag but do not have the @java.lang.Deprecated annotation.

Missing 'package-info.java'   New in this release

Reports packages that contain classes but do not contain the package-info.java or package.html files and are, thus, missing the package documentation.

Missing Javadoc   New in this release

Reports missing Javadoc comments and tags.

Unnecessary '{@inheritDoc}' Javadoc comment   New in this release

Reports Javadoc comments that contain only an {@inheritDoc} tag.

Unnecessary Javadoc link   New in this release

Reports Javadoc @see, {@link}, and {@linkplain} tags that refer to the method owning the comment, the super method of the method owning the comment, or the class containing the comment.

Last modified: 11 September 2024