ab2c129466
This is needed for subsequent checks of annotations set on types, while currently method accepts only declarations. MR: KT-MR-12245 ^KT-60671