TANAL-73: add warn-on-reflection pass