Create from Usage: Show target class name in the text of "Create member" quick fix

(cherry picked from commit a51d3fc)
This commit is contained in:
Alexey Sedunov
2016-07-15 00:52:26 +03:00
parent 82bdd1e42b
commit a1e86e8bfa
220 changed files with 234 additions and 229 deletions
@@ -1,4 +1,4 @@
// "Create member function 'getValue'" "true"
// "Create member function 'F.getValue'" "true"
class F {
}
@@ -1,6 +1,6 @@
import kotlin.reflect.KProperty
// "Create member function 'getValue'" "true"
// "Create member function 'F.getValue'" "true"
class F {
operator fun getValue(x: X, property: KProperty<*>): Int {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
@@ -1,4 +1,4 @@
// "Create member function 'getValue', function 'setValue'" "true"
// "Create member function 'F.getValue', function 'F.setValue'" "true"
class F {
}
@@ -1,6 +1,6 @@
import kotlin.reflect.KProperty
// "Create member function 'getValue', function 'setValue'" "true"
// "Create member function 'F.getValue', function 'F.setValue'" "true"
class F {
operator fun getValue(x: X, property: KProperty<*>): Int {
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
@@ -1,4 +1,4 @@
// "Create member function 'getValue'" "true"
// "Create member function 'F.getValue'" "true"
import kotlin.reflect.KProperty
class F {
@@ -1,4 +1,4 @@
// "Create member function 'getValue'" "true"
// "Create member function 'F.getValue'" "true"
import kotlin.reflect.KProperty
class F {
@@ -1,4 +1,4 @@
// "Create member function 'setValue'" "true"
// "Create member function 'F.setValue'" "true"
import kotlin.reflect.KProperty
class F {
@@ -1,4 +1,4 @@
// "Create member function 'setValue'" "true"
// "Create member function 'F.setValue'" "true"
import kotlin.reflect.KProperty
class F {