mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-10 18:40:15 +08:00
Remove ExperimentalPermission
This commit is contained in:
parent
d59d67ad9e
commit
854528357f
@ -1,25 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2020 Mamoe Technologies and contributors.
|
|
||||||
*
|
|
||||||
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
|
|
||||||
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
|
|
||||||
*
|
|
||||||
* https://github.com/mamoe/mirai/blob/master/LICENSE
|
|
||||||
*/
|
|
||||||
|
|
||||||
package net.mamoe.mirai.console.permission
|
|
||||||
|
|
||||||
import kotlin.annotation.AnnotationTarget.*
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 标记一个实验性的权限系统 API.
|
|
||||||
*
|
|
||||||
* 权限系统是在 1.0-M4 引入的一个实验性系统, 目前不具有 API 稳定性.
|
|
||||||
*/
|
|
||||||
@Retention(AnnotationRetention.BINARY)
|
|
||||||
@RequiresOptIn(level = RequiresOptIn.Level.WARNING)
|
|
||||||
@Target(CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR)
|
|
||||||
@MustBeDocumented
|
|
||||||
public annotation class ExperimentalPermission(
|
|
||||||
val message: String = ""
|
|
||||||
)
|
|
Loading…
Reference in New Issue
Block a user