报告可以简化为单个语句的 if 语句。
if
示例:
fun test(): Boolean { if (foo()) { return true } else { return false } }
在应用快速修复后:
fun test(): Boolean { return foo() }