Insert KProperty<*> when creating property delegate methods in IDE
This commit is contained in:
Vendored
+5
-3
@@ -1,8 +1,10 @@
|
||||
// "Create member function 'setValue'" "true"
|
||||
class F {
|
||||
fun getValue(x: X, propertyMetadata: PropertyMetadata): Int = 1
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
fun setValue(x: X, propertyMetadata: PropertyMetadata, i: Int) {
|
||||
class F {
|
||||
fun getValue(x: X, property: KProperty<*>): Int = 1
|
||||
|
||||
fun setValue(x: X, property: KProperty<*>, i: Int) {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user