https://kotlinlang.org logo
#intellij
Title
# intellij
i

iFrankWang

08/03/2020, 10:05 AM
Hi devs, how do i get
KtNamedFunction
's return type in form like "`xxx.xxx.TestClass`"? I've only managed to get the short class name as "`TestClass`" with code like this:
Copy code
ktNamedFunction.getTypeReference().getText()
a

Alexey Belkov [JB]

08/03/2020, 2:04 PM
#kontributors or #compiler
6 Views