PsiType (@NotNull PsiMethod method, @NotNull PsiType returnType) { if (TypeConversionUtil.isNullType(returnType)) { returnType = PsiType.getJavaLangObject(method.getManager(), method.getResolveScope()); } return returnType; }