receiverType¶
context(session: KaSession)
val KtDoubleColonExpression.receiverType: KaType?
Resolves the given KtDoubleColonExpression to the KaType of its receiver.
The result may be null if the resolution fails or the resolved callable reference is not a reflection type.
Example¶
Here, receiverType for foo::bar is Foo (the type of foo).