PsiSubstitutor (PsiTypeParameter @NotNull [] typeParameters, PsiParameter @NotNull [] parameters, PsiExpression @NotNull [] arguments, @NotNull PsiSubstitutor partialSubstitutor, @NotNull PsiElement parent, @NotNull ParameterTypeInferencePolicy policy) { return getInferenceHelper(PsiUtil.getLanguageLevel(parent)) .inferTypeArguments(typeParameters, parameters, arguments, null, partialSubstitutor, parent, policy, PsiUtil.getLanguageLevel(parent)); }