报告对 Flow 类型进行了可被替换为简化形式的函数调用。

使用相应函数可使代码更简单。

该快速修复会在函数调用之间彼此替换。

示例:


  fun test(flow: Flow<Any>) {
      flow.filter { it is String }
  }

在应用快速修复后:


  fun test(flow: Flow<Any>) {
      flow.filterIsInstance<String>()
  }