resolveToSymbol¶
context(session: KaSession)
fun KtReference.resolveToSymbol(): KaSymbol?
Resolves the given KtReference to a symbol.
Returns null if the reference cannot be resolved, or resolves to multiple symbols due to being ambiguous.
Consider using the new resolution API.