Detekt:具有UtilityClassWithPublicConstructor错误的注释类

时间:2019-07-26 21:15:27

标签: android kotlin detekt

如何避免在注释类上出现UtilityClassWithPublicConstructor错误:

@Scope
annotation class ActivityScope {
    companion object {
        const val ID = "Activity"
    }
}

0 个答案:

没有答案