From 4c79d4cd182ba7eb0f896f117176110f97b61eca Mon Sep 17 00:00:00 2001 From: Him188 Date: Sun, 14 Jun 2020 18:36:32 +0800 Subject: [PATCH] Add `@MustBeDocumented` to `MiraiInternalAPI` and `MiraiExperimentalAPI` --- .../src/commonMain/kotlin/net.mamoe.mirai/utils/Annotations.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/Annotations.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/Annotations.kt index da04831b3..399847258 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/Annotations.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/utils/Annotations.kt @@ -23,6 +23,7 @@ import kotlin.annotation.AnnotationTarget.* CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR, CLASS, FUNCTION, PROPERTY ) +@MustBeDocumented annotation class MiraiInternalAPI( val message: String = "" ) @@ -36,6 +37,7 @@ annotation class MiraiInternalAPI( @Retention(AnnotationRetention.SOURCE) @RequiresOptIn(level = RequiresOptIn.Level.WARNING) @Target(CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR) +@MustBeDocumented annotation class MiraiExperimentalAPI( val message: String = "" )