Place DeprecatedSinceKotlin annotation under 1.4 version

This commit is contained in:
Mikhail Zarechenskiy
2020-06-18 10:00:35 +03:00
parent 2f55a3fa0d
commit 5d88058928
7 changed files with 43 additions and 43 deletions
@@ -1,27 +1,27 @@
// !API_VERSION: 1.3 // !API_VERSION: 1.4
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.3") @DeprecatedSinceKotlin("", errorSince = "1.4")
class ClassCur class ClassCur
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.3") @DeprecatedSinceKotlin("", errorSince = "1.4")
fun funCur() {} fun funCur() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.3") @DeprecatedSinceKotlin("", errorSince = "1.4")
val valCur = Unit val valCur = Unit
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.4") @DeprecatedSinceKotlin("", errorSince = "1.5")
class ClassNext class ClassNext
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.4") @DeprecatedSinceKotlin("", errorSince = "1.5")
fun funNext() {} fun funNext() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.4") @DeprecatedSinceKotlin("", errorSince = "1.5")
val valNext = Unit val valNext = Unit
fun usage() { fun usage() {
@@ -1,27 +1,27 @@
// !API_VERSION: 1.3 // !API_VERSION: 1.4
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.3") @DeprecatedSinceKotlin("", errorSince = "1.4")
class ClassCur class ClassCur
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.3") @DeprecatedSinceKotlin("", errorSince = "1.4")
fun funCur() {} fun funCur() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.3") @DeprecatedSinceKotlin("", errorSince = "1.4")
val valCur = Unit val valCur = Unit
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.4") @DeprecatedSinceKotlin("", errorSince = "1.5")
class ClassNext class ClassNext
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.4") @DeprecatedSinceKotlin("", errorSince = "1.5")
fun funNext() {} fun funNext() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", errorSince = "1.4") @DeprecatedSinceKotlin("", errorSince = "1.5")
val valNext = Unit val valNext = Unit
fun usage() { fun usage() {
@@ -1,27 +1,27 @@
// !API_VERSION: 1.3 // !API_VERSION: 1.4
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.3") @DeprecatedSinceKotlin("", hiddenSince = "1.4")
class ClassCur class ClassCur
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.3") @DeprecatedSinceKotlin("", hiddenSince = "1.4")
fun funCur() {} fun funCur() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.3") @DeprecatedSinceKotlin("", hiddenSince = "1.4")
val valCur = Unit val valCur = Unit
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.4") @DeprecatedSinceKotlin("", hiddenSince = "1.5")
class ClassNext class ClassNext
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.4") @DeprecatedSinceKotlin("", hiddenSince = "1.5")
fun funNext() {} fun funNext() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.4") @DeprecatedSinceKotlin("", hiddenSince = "1.5")
val valNext = Unit val valNext = Unit
fun usage() { fun usage() {
@@ -1,27 +1,27 @@
// !API_VERSION: 1.3 // !API_VERSION: 1.4
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.3") @DeprecatedSinceKotlin("", hiddenSince = "1.4")
class ClassCur class ClassCur
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.3") @DeprecatedSinceKotlin("", hiddenSince = "1.4")
fun funCur() {} fun funCur() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.3") @DeprecatedSinceKotlin("", hiddenSince = "1.4")
val valCur = Unit val valCur = Unit
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.4") @DeprecatedSinceKotlin("", hiddenSince = "1.5")
class ClassNext class ClassNext
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.4") @DeprecatedSinceKotlin("", hiddenSince = "1.5")
fun funNext() {} fun funNext() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin("", hiddenSince = "1.4") @DeprecatedSinceKotlin("", hiddenSince = "1.5")
val valNext = Unit val valNext = Unit
fun usage() { fun usage() {
@@ -1,27 +1,27 @@
// !API_VERSION: 1.3 // !API_VERSION: 1.4
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.3") @DeprecatedSinceKotlin(warningSince = "1.4")
class ClassCur class ClassCur
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.3") @DeprecatedSinceKotlin(warningSince = "1.4")
fun funCur() {} fun funCur() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.3") @DeprecatedSinceKotlin(warningSince = "1.4")
val valCur = Unit val valCur = Unit
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.4") @DeprecatedSinceKotlin(warningSince = "1.5")
class ClassNext class ClassNext
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.4") @DeprecatedSinceKotlin(warningSince = "1.5")
fun funNext() {} fun funNext() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.4") @DeprecatedSinceKotlin(warningSince = "1.5")
val valNext = Unit val valNext = Unit
fun usage() { fun usage() {
@@ -1,27 +1,27 @@
// !API_VERSION: 1.3 // !API_VERSION: 1.4
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.3") @DeprecatedSinceKotlin(warningSince = "1.4")
class ClassCur class ClassCur
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.3") @DeprecatedSinceKotlin(warningSince = "1.4")
fun funCur() {} fun funCur() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.3") @DeprecatedSinceKotlin(warningSince = "1.4")
val valCur = Unit val valCur = Unit
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.4") @DeprecatedSinceKotlin(warningSince = "1.5")
class ClassNext class ClassNext
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.4") @DeprecatedSinceKotlin(warningSince = "1.5")
fun funNext() {} fun funNext() {}
@Deprecated("") @Deprecated("")
@DeprecatedSinceKotlin(warningSince = "1.4") @DeprecatedSinceKotlin(warningSince = "1.5")
val valNext = Unit val valNext = Unit
fun usage() { fun usage() {
+1 -1
View File
@@ -51,7 +51,7 @@ public annotation class Deprecated(
*/ */
@Target(CLASS, FUNCTION, PROPERTY, ANNOTATION_CLASS, CONSTRUCTOR, PROPERTY_SETTER, PROPERTY_GETTER, TYPEALIAS) @Target(CLASS, FUNCTION, PROPERTY, ANNOTATION_CLASS, CONSTRUCTOR, PROPERTY_SETTER, PROPERTY_GETTER, TYPEALIAS)
@MustBeDocumented @MustBeDocumented
@SinceKotlin("1.3") @SinceKotlin("1.4")
public annotation class DeprecatedSinceKotlin( public annotation class DeprecatedSinceKotlin(
val warningSince: String = "", val warningSince: String = "",
val errorSince: String = "", val errorSince: String = "",