SONARJAVA-457 RSPEC-1123 Respect deprecation tag/annotation inheritance