@deprecated
Javadoc tag but do not have the @java.lang.Deprecated
annotation.
Suggests adding the missing @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.