5a511dd635
1) Optimize and refactored code 2) Added support for correct renaming of target identifier to this/it 3) Added support of cases with difficult application targets (like: var x = 1 + 2) 4) Show error hint when refactoring failed for some reason 5) Improved intention applicability checking to eliminate false-positive cases 6) Fixed EA-209577
14 lines
208 B
Kotlin
Vendored
14 lines
208 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
class MyClass {
|
|
fun foo1() = Unit
|
|
fun foo2() = Unit
|
|
fun foo3() = Unit
|
|
|
|
fun foo4() {
|
|
val a = MyClass()
|
|
a.foo1()<caret>
|
|
a.foo2()
|
|
a.foo3()
|
|
}
|
|
} |