PsiType (@NotNull PsiMethodCallExpression callExpression, @NotNull PsiMethod method) { PsiSubstitutor substitutor = callExpression.resolveMethodGenerics().getSubstitutor(); return substitutor.substitute(method.getReturnType()); }