To address the comment in this PR.
I'm concerned that the conditions here may not be very persuasive and conducive to understanding, so there should be an alternative condition of using PSI/FIR elements.
so instead of parts.size == 2 && psi.text == parts[0], I think the condition can be optimized to psi !is KtDotQualifiedExpression && psi == parent.receiverExpression
To address the comment in this PR. I'm concerned that the conditions here may not be very persuasive and conducive to understanding, so there should be an alternative condition of using PSI/FIR elements.
so instead of
parts.size == 2 && psi.text == parts[0]
, I think the condition can be optimized topsi !is KtDotQualifiedExpression && psi == parent.receiverExpression