Docs: mark all experimental annotations as MustBeDocumented

So that they are shown in the docs of annotated experimental API
This commit is contained in:
Ilya Gorbunov
2019-06-14 19:38:41 +03:00
parent a55563f5ec
commit a1979677d0
5 changed files with 5 additions and 0 deletions
@@ -29,6 +29,7 @@ import kotlin.annotation.AnnotationTarget.*
PROPERTY_SETTER,
TYPEALIAS
)
@MustBeDocumented
@ExperimentalStdlibApi
@SinceKotlin("1.3") // TODO: Remove experimental status from itself and advance SinceKotlin to 1.4
public annotation class ExperimentalStdlibApi
@@ -17,6 +17,7 @@ import kotlin.internal.RequireKotlinVersionKind
* or by using the compiler argument `-Xuse-experimental=kotlin.ExperimentalMultiplatform`.
*/
@Experimental
@MustBeDocumented
@Target(
CLASS,
ANNOTATION_CLASS,
@@ -19,6 +19,7 @@ import kotlin.internal.InlineOnly
@Retention(AnnotationRetention.BINARY)
@SinceKotlin("1.3")
@Experimental
@MustBeDocumented
public annotation class ExperimentalContracts
/**
@@ -13,6 +13,7 @@ package kotlin.experimental
* or by using the compiler argument `-Xuse-experimental=kotlin.experimental.ExperimentalTypeInference`.
*/
@Experimental(level = Experimental.Level.ERROR)
@MustBeDocumented
@Retention(AnnotationRetention.BINARY)
@Target(AnnotationTarget.ANNOTATION_CLASS)
@SinceKotlin("1.3")