Commit 4c79d4cd authored by Him188's avatar Him188

Add `@MustBeDocumented` to `MiraiInternalAPI` and `MiraiExperimentalAPI`

parent 4cb870cb
......@@ -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 = ""
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment