Redundant property getter
Reports redundant property getters.
Example:
class Test {
val a = 1
get
val b = 1
get() = field
}
After the quick-fix is applied:
class Test {
val a = 1
val b = 1
}
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Kotlin, @snapshot@ |
Last modified: 13 July 2023