Regarding the lambda fixer. I resolved the call us...
# kontributors
k
Regarding the lambda fixer. I resolved the call using
Copy code
val 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?