This rule is meant to be used as a way to track code which is marked as being deprecated. Deprecated code should eventually be removed.
Noncompliant code example
class Foo {
@deprecated // Noncompliant
void foo() {
}
@Deprecated("Use baz instead") // Noncompliant
void bar() {
}
void baz() { // Compliant
}
}