aboutsummaryrefslogtreecommitdiff
path: root/.live-plugins/module/plugin.kts
diff options
context:
space:
mode:
Diffstat (limited to '.live-plugins/module/plugin.kts')
-rw-r--r--.live-plugins/module/plugin.kts3
1 files changed, 0 insertions, 3 deletions
diff --git a/.live-plugins/module/plugin.kts b/.live-plugins/module/plugin.kts
index 286160a9b..c0a65d3f4 100644
--- a/.live-plugins/module/plugin.kts
+++ b/.live-plugins/module/plugin.kts
@@ -5,7 +5,6 @@ import com.intellij.codeInspection.ProblemsHolder
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElementVisitor
import liveplugin.registerInspection
-import liveplugin.show
import org.jetbrains.kotlin.idea.base.utils.fqname.fqName
import org.jetbrains.kotlin.idea.codeinsight.api.classic.inspections.AbstractKotlinInspection
import org.jetbrains.kotlin.idea.util.AnnotationModificationHelper
@@ -55,7 +54,6 @@ class ModuleInspectionKotlin : AbstractKotlinInspection() {
}
override fun visitObjectDeclaration(declaration: KtObjectDeclaration) {
- if (declaration.isCompanion()) return
val hasAnnotation = declaration.annotationEntries.any { it.shortName?.asString() == skyHanniModule }
if (hasAnnotation) return
@@ -92,7 +90,6 @@ class ModuleQuickFix : LocalQuickFix {
" ",
null
)
- show("Annotation applied, make sure SkyHanniMod isn't still loading this module")
}
override fun getName() = "Annotate with @SkyHanniModule"