[Stdlib] Fix reports of MPP annotation checker

^KT-58551
This commit is contained in:
Roman Efremov
2023-06-30 12:58:46 +02:00
committed by Space Team
parent 12eb6d97bf
commit 8ce1417621
6 changed files with 9 additions and 1 deletions
+2
View File
@@ -2,6 +2,7 @@
@kotlin.annotation.Retention(value = AnnotationRetention.SOURCE)
@kotlin.Deprecated(message = "Synchronizing methods on a class instance is not supported on platforms other than JVM. If you need to annotate a common method as JVM-synchronized, introduce your own optional-expectation annotation and actualize it with a typealias to kotlin.jvm.Synchronized.")
@kotlin.DeprecatedSinceKotlin(warningSince = "1.8")
@kotlin.annotation.MustBeDocumented
public final annotation class Synchronized : kotlin.Annotation {
public constructor Synchronized()
}
@@ -10,6 +11,7 @@ public final annotation class Synchronized : kotlin.Annotation {
@kotlin.annotation.Retention(value = AnnotationRetention.SOURCE)
@kotlin.Deprecated(message = "This annotation has no effect in Kotlin/JS. Use kotlin.concurrent.Volatile annotation in multiplatform code instead.", replaceWith = kotlin.ReplaceWith(expression = "kotlin.concurrent.Volatile", imports = {"kotlin.concurrent.Volatile"}))
@kotlin.DeprecatedSinceKotlin(warningSince = "1.9")
@kotlin.annotation.MustBeDocumented
public final annotation class Volatile : kotlin.Annotation {
public constructor Volatile()
}