mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.permission
/
PermissionId
/
Companion
/
checkPermissionIdName
check
Permission
Id
Name
@
JvmStatic
fun
checkPermissionIdName
(
name
:
String
)
检查
PermissionId.name
的合法性. 在非法时抛出
IllegalArgumentException