diff options
Diffstat (limited to '.live-plugins')
-rw-r--r-- | .live-plugins/module/plugin.kts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.live-plugins/module/plugin.kts b/.live-plugins/module/plugin.kts index d20021217..286160a9b 100644 --- a/.live-plugins/module/plugin.kts +++ b/.live-plugins/module/plugin.kts @@ -55,6 +55,7 @@ class ModuleInspectionKotlin : AbstractKotlinInspection() { } override fun visitObjectDeclaration(declaration: KtObjectDeclaration) { + if (declaration.isCompanion()) return val hasAnnotation = declaration.annotationEntries.any { it.shortName?.asString() == skyHanniModule } if (hasAnnotation) return |