mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Add JavaFriendlyAPI
This commit is contained in:
parent
594ae1f778
commit
060ed31873
@ -0,0 +1,8 @@
|
||||
package net.mamoe.mirai.console.utils
|
||||
|
||||
/**
|
||||
* 表明这个 API 是为了让 Java 使用者调用更方便. Kotlin 使用者不应该使用这些 API.
|
||||
*/
|
||||
@RequiresOptIn(level = RequiresOptIn.Level.ERROR)
|
||||
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.TYPE, AnnotationTarget.CLASS)
|
||||
internal annotation class JavaFriendlyAPI
|
Loading…
Reference in New Issue
Block a user