Example:
fun test(my: My?) { if (my != null && my.foo() != null) {} }
After the quick-fix is applied:
fun test(my: My?) { if (my?.foo() != null) {} }