Implicit 'this'
Reports usages of implicit this.
Example:
class Foo {
fun s() = ""
fun test() {
s()
}
}
The quick fix specifies this explicitly:
class Foo {
fun s() = ""
fun test() {
this.s()
}
}
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Kotlin, @snapshot@ |
Last modified: 13 July 2023