How to find the class of a function call (KtNameReferenceExpression)


I have a PsiElement of type KtCallExpression which I can use to get access to a KtNameReferenceExpression`. Is there an utility class in Intellij Idea Plugin SDK in order to give you the class where the function is declared?

Having the following code:


How can I get the class name of the method inflate?

Thank you in advance.

Please sign in to leave a comment.