resolveToCall¶
context(session: KaSession)
fun KtElement.resolveToCall(): KaCallInfo?
Resolves the given KtElement to a KaCallInfo object. KaCallInfo either contains a successfully resolved call or an error with a list of candidate calls and a diagnostic.
Returns null if the element does not correspond to a call.
Consider using the new resolution API.