Kotlin? Hello?
This commit is contained in:
parent
addd088cc4
commit
20bbaec62a
@ -1117,6 +1117,11 @@ class FieldSynchronizer(private val callback: Runnable, private val alwaysCallCa
|
|||||||
isClientValue = true
|
isClientValue = true
|
||||||
observer.accept(newValue)
|
observer.accept(newValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated("Use type specific property", replaceWith = ReplaceWith("this.property"))
|
||||||
|
override fun getValue(thisRef: Any?, property: KProperty<*>): Float {
|
||||||
|
return super<IFloatField>.getValue(thisRef, property)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1184,6 +1189,11 @@ class FieldSynchronizer(private val callback: Runnable, private val alwaysCallCa
|
|||||||
isClientValue = true
|
isClientValue = true
|
||||||
observer.accept(newValue)
|
observer.accept(newValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated("Use type specific property", replaceWith = ReplaceWith("this.property"))
|
||||||
|
override fun getValue(thisRef: Any?, property: KProperty<*>): Double {
|
||||||
|
return super<IDoubleField>.getValue(thisRef, property)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1237,6 +1247,11 @@ class FieldSynchronizer(private val callback: Runnable, private val alwaysCallCa
|
|||||||
return getter.asInt
|
return getter.asInt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated("Use type specific property", replaceWith = ReplaceWith("this.property"))
|
||||||
|
override fun getValue(thisRef: Any?, property: KProperty<*>): Int {
|
||||||
|
return super<IIntField>.getValue(thisRef, property)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1332,6 +1347,11 @@ class FieldSynchronizer(private val callback: Runnable, private val alwaysCallCa
|
|||||||
return getter.asLong
|
return getter.asLong
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated("Use type specific property", replaceWith = ReplaceWith("this.property"))
|
||||||
|
override fun getValue(thisRef: Any?, property: KProperty<*>): Long {
|
||||||
|
return super<ILongField>.getValue(thisRef, property)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1441,6 +1461,11 @@ class FieldSynchronizer(private val callback: Runnable, private val alwaysCallCa
|
|||||||
isClientValue = true
|
isClientValue = true
|
||||||
observer.accept(newValue)
|
observer.accept(newValue)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Deprecated("Use type specific property", replaceWith = ReplaceWith("this.property"))
|
||||||
|
override fun getValue(thisRef: Any?, property: KProperty<*>): Boolean {
|
||||||
|
return super<IBooleanField>.getValue(thisRef, property)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user