[Debug] track and report deprecated classes and interfaces

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -
I think it would be easier to understand if you mention that the class (with the name) is implementing a deprecated interface