将使用 boolean 表达式的 return 或赋值语句替换为等效的 if else 语句。