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:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'getValue'" "true"
|
||||
// "Create member function 'F.getValue'" "true"
|
||||
class F {
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'getValue', function 'setValue'" "true"
|
||||
// "Create member function 'F.getValue', function 'F.setValue'" "true"
|
||||
class F {
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'getValue'" "true"
|
||||
// "Create member function 'F.getValue'" "true"
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class F {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'getValue'" "true"
|
||||
// "Create member function 'F.getValue'" "true"
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class F {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'setValue'" "true"
|
||||
// "Create member function 'F.setValue'" "true"
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class F {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'setValue'" "true"
|
||||
// "Create member function 'F.setValue'" "true"
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
class F {
|
||||
|
||||
Reference in New Issue
Block a user