Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'get'" "true"
|
||||
// "Create member function 'getValue'" "true"
|
||||
class F {
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create member function 'get'" "true"
|
||||
// "Create member function 'getValue'" "true"
|
||||
class F {
|
||||
fun get(x: X, propertyMetadata: PropertyMetadata): Int {
|
||||
fun getValue(x: X, propertyMetadata: PropertyMetadata): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'get', function 'set'" "true"
|
||||
// "Create member function 'getValue', function 'set'" "true"
|
||||
class F {
|
||||
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
// "Create member function 'get', function 'set'" "true"
|
||||
// "Create member function 'getValue', function 'setValue'" "true"
|
||||
class F {
|
||||
fun get(x: X, propertyMetadata: PropertyMetadata): Int {
|
||||
fun getValue(x: X, propertyMetadata: PropertyMetadata): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
fun set(x: X, propertyMetadata: PropertyMetadata, i: Int) {
|
||||
fun setValue(x: X, propertyMetadata: PropertyMetadata, i: Int) {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create member function 'get'" "true"
|
||||
// "Create member function 'getValue'" "true"
|
||||
class F {
|
||||
fun set(x: X, propertyMetadata: PropertyMetadata, i: Int) { }
|
||||
fun setValue(x: X, propertyMetadata: PropertyMetadata, i: Int) { }
|
||||
}
|
||||
|
||||
class X {
|
||||
|
||||
Vendored
+3
-3
@@ -1,8 +1,8 @@
|
||||
// "Create member function 'get'" "true"
|
||||
// "Create member function 'getValue'" "true"
|
||||
class F {
|
||||
fun set(x: X, propertyMetadata: PropertyMetadata, i: Int) { }
|
||||
fun setValue(x: X, propertyMetadata: PropertyMetadata, i: Int) { }
|
||||
|
||||
fun get(x: X, propertyMetadata: PropertyMetadata): Int {
|
||||
fun getValue(x: X, propertyMetadata: PropertyMetadata): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
// "Create member function 'set'" "true"
|
||||
// "Create member function 'setValue'" "true"
|
||||
class F {
|
||||
fun get(x: X, propertyMetadata: PropertyMetadata): Int = 1
|
||||
fun getValue(x: X, propertyMetadata: PropertyMetadata): Int = 1
|
||||
}
|
||||
|
||||
class X {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Create member function 'set'" "true"
|
||||
// "Create member function 'setValue'" "true"
|
||||
class F {
|
||||
fun get(x: X, propertyMetadata: PropertyMetadata): Int = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user