SI-4788/SI-5948 Respect RetentionPolicy of Java annotations

I don't understand - as far as I can see, `DScala` is declared, but never referenced (reflectively in a  String). That should not trigger a deprecation warning, no? Also, there seems to be only a deprecation warning in `t4788.check`, but not in `t4788-separate-compilation.check`.