Fixed detection of setter in case of getter with covariant return type narrowing

Issue: SPR-10995
Polishing