@SuppressWarnings("WeakerAccess") 的 Kotlin 替代方案

Ole*_*bul 5 annotations suppress-warnings kotlin

@SuppressWarnings("WeakerAccess")kotlin 中有替代方案吗?
我尝试过@Suppress("WeakerAccess")但没有运气。在开发库时看到“ Function xxx might be private ”是非常烦人的。

Fra*_*ung -1

编写src/test/kotlin使用您的函数的测试代码。