@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.SOURCE)
@Suppress("unused", "CanBePrivate")
annotation class Api
1
LiYing2016 323 天前
直接把 `@Suppress` 写在 `fun sendText` 上试试
|