vpriscan
02/03/2020, 5:17 PMilya.gorbunov
02/06/2020, 6:19 AMDeprecatedSinceKotlin
annotation planned that would allow to specify different deprecation levels depending on the caller's Kotlin API version setting.
However, since it's for use mostly in the standard library, we do not plan to make this annotation public.
Could add a comment about your use case here: https://youtrack.jetbrains.com/issue/KT-23575?