IDEA-104079 (Invalid warning about unnecessary cast)