[Debug] track and report deprecated classes and interfaces