PsiType.NULL :
PsiType.getJavaLangObject(manager, scope);
}
<BUG>PsiType returnType = ((PsiMethod)typeParameter.getOwner()).getReturnType();
final Pair<PsiType, ConstraintType> constraint =
getSubstitutionForTypeParameterConstraint(typeParameter, returnType, expectedType, false, PsiUtil.getLanguageLevel(parent));

final Pair<PsiType, ConstraintType> result;
if (constraint == null) {</BUG>
final PsiSubstitutor finalSubstitutor = substitutor.put(typeParameter, null);

PsiType.NULL :
PsiType.getJavaLangObject(manager, scope);
}
returnType = ((PsiMethod)typeParameter.getOwner()).getReturnType();
constraint = getSubstitutionForTypeParameterConstraint(typeParameter, returnType, expectedType, false, PsiUtil.getLanguageLevel(parent));
}
if (constraint == null) {
final PsiSubstitutor finalSubstitutor = substitutor.put(typeParameter, null);
