Hmm.. I'll try to attack my problem from another a...
# intellij-plugins
e
Hmm.. I'll try to attack my problem from another angle. Let's say I invoke an intention on
println(42)
. How can I find the type for the parameter (42/Int) and the return type of the expression? (Unit). I tried
getParentOfType(KtCallExpression::class.java)
to get the
KtCallExpression
, but I can't find any functions that will help me resolve the types.