mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-21 09:10:22 +08:00
Add @DeprecatedSinceMirai
, close #1669
This commit is contained in:
parent
64920a399e
commit
a8e3916261
@ -15,4 +15,13 @@ import kotlin.annotation.AnnotationTarget.*
|
||||
|
||||
@RequiresOptIn("This can only be used in tests.", level = ERROR)
|
||||
@Target(CLASS, FUNCTION, PROPERTY, CLASS, CONSTRUCTOR, FUNCTION)
|
||||
public annotation class TestOnly
|
||||
public annotation class TestOnly
|
||||
|
||||
/**
|
||||
* @since 2.9.0-RC
|
||||
*/ // https://github.com/mamoe/mirai/issues/1669
|
||||
public annotation class DeprecatedSinceMirai(
|
||||
val warningSince: String = "",
|
||||
val errorSince: String = "",
|
||||
val hiddenSince: String = ""
|
||||
)
|
Loading…
Reference in New Issue
Block a user