@TestOnly
@VisibleForTesting
如果引用了以下位置中的方法或类,则不报告这些问题:
(生产代码中的)示例:
@TestOnly fun foo() { ... } fun main () { foo() }