报告冗余的 Companion
引用。
示例:
class A {
companion object {
fun create() = A()
}
}
fun test() {
val s = A.Companion.create()
}
在应用快速修复后:
class A {
companion object {
fun create() = A()
}
}
fun test() {
val s = A.create()
}