From c1656ae31c7815690df43a8ceb71b2e8c117708f Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Wed, 11 Mar 2026 22:50:20 +0000
Subject: [PATCH 1/4] Initial plan
From 86caa922d10d1575cce8f068db2f4ef5f066a535 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Wed, 11 Mar 2026 22:55:07 +0000
Subject: [PATCH 2/4] Update plugin.xml description and complete all
inspectionDescription HTML files
Co-authored-by: twisti-dev <76837088+twisti-dev@users.noreply.github.com>
---
src/main/resources/META-INF/plugin.xml | 39 +++++++++++++++-
.../MustBeInvokedByOverridersInspection.html | 46 +++++++++++++------
.../RedisEventHandlerParameterInspection.html | 39 ++++++++++------
...isEventHandlerParameterNameInspection.html | 30 ++++++------
.../RedisEventMissingSerializable.html | 33 ++++++-------
.../RedisHandlerModifierInspection.html | 40 ++++++++++------
.../RedisHandlerSuspendFunction.html | 39 ++++++++++------
...edisRequestHandlerParameterInspection.html | 41 +++++++++++------
...RequestHandlerParameterNameInspection.html | 30 ++++++------
9 files changed, 210 insertions(+), 127 deletions(-)
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index 9d6e17a..d56aace 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -4,8 +4,43 @@
- The first sentence must be in a dedicated paragraph separated from the rest of the text. This will make the
- description easier to read.
- Make sure the description doesn’t just repeat the inspection title.
+ Detects when a method overrides a function annotated with
+ @MustBeInvokedByOverriders or @OverridingMethodsMustInvokeSuper
+ but does not include a super.methodName() call.
- See https://plugins.jetbrains.com/docs/intellij/inspections.html#descriptions for more information. + Example of problematic code:
+
+open class Parent {
+ @MustBeInvokedByOverriders
+ open fun initialize() {
+ // important setup logic
+ }
+}
+
+class Child : Parent() {
+ override fun initialize() {
+ // Missing super.initialize() call - reported
+ doSomething()
+ }
+}
+
- Embed code snippets: + Correct code:
-// automatically highlighted according to inspection registration 'language' attribute
+class Child : Parent() {
+ override fun initialize() {
+ super.initialize() // Required call
+ doSomething()
+ }
+}
-Text after this comment will only be shown in the settings of the inspection.
- -To open related settings directly from the description, add a link with `settings://$` optionally followed by `?$` to - pre-select a UI element.
+
+ The quick-fix adds a super.methodName() call at the beginning of the method body.
+