== Why is this an issue?

include::../description.adoc[]

=== Noncompliant code example

[source,dart]
----
class Foo {

  @deprecated                     // Noncompliant
  void foo() {
  }

  @Deprecated("Use baz instead")  // Noncompliant
  void bar() {
  }

  void baz() {                    // Compliant
  }
}
----
