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

Example:


  /**
   * @deprecated use {@code example()} instead
   */
  void sample(){ }

After the quick-fix is applied:


  /**
   * @deprecated use {@code example()} instead
   */
  @Deprecated
  void sample(){ }

This inspection works only if the language level of the project or module is 5 or higher.

Use the checkbox below to be warned on the symbols annotated with @Deprecated without an explanation in the @deprecated Javadoc tag.