kirillrakhman
03/03/2016, 9:38 PMval bindingContext = element.analyze(BodyResolveMode.PARTIAL)
val resolvedCall = element.getResolvedCall(bindingContext) ?: return
Now I can inspect the parameters of the resolved function using resolvedCall.candidateDescriptor.valueParameters. I can get the type of a ValueParameterDescriptor using type. My question is, how do I check if the KotlinType is a functional type?