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