mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-03 04:44:48 +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, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR,
|
||||||
CLASS, FUNCTION, PROPERTY
|
CLASS, FUNCTION, PROPERTY
|
||||||
)
|
)
|
||||||
|
@MustBeDocumented
|
||||||
annotation class MiraiInternalAPI(
|
annotation class MiraiInternalAPI(
|
||||||
val message: String = ""
|
val message: String = ""
|
||||||
)
|
)
|
||||||
@ -36,6 +37,7 @@ annotation class MiraiInternalAPI(
|
|||||||
@Retention(AnnotationRetention.SOURCE)
|
@Retention(AnnotationRetention.SOURCE)
|
||||||
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
||||||
@Target(CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR)
|
@Target(CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR)
|
||||||
|
@MustBeDocumented
|
||||||
annotation class MiraiExperimentalAPI(
|
annotation class MiraiExperimentalAPI(
|
||||||
val message: String = ""
|
val message: String = ""
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user