Verifies that both the java.lang.Deprecated annotation is present and the @deprecated Javadoc tag is present when either is present.
This rule is deprecated, use {rule:squid:MissingDeprecatedCheck} instead.