mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-31 07:07:01 +08:00
Add @MustBeDocumented
to MiraiInternalAPI
and MiraiExperimentalAPI
This commit is contained in:
parent
4cb870cb85
commit
4c79d4cd18
@ -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 = ""
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user