<!--https://github.com/gejun123456/MyBatisCodeHelper-Pro/issues/new paste current content to github issues-->
重现步骤(Repeat steps)
- 最好提供gif动图(It's best to provide a GIF)
- please describe what you were doing when this exception occurred
在使用kotlin定义的Mapper里使用对方法参数添加Param注解时报错

当前使用版本(Current Version)
IntelliJ IDEA 2025.3.3 • Notes plugin com.ccnode.codegenerator.MyBatisCodeHelperPro 3.5.2+2321
Exception
null
java.lang.IllegalStateException: KotlinCacheService should not be used for the K2 mode. See https://kotl.in/analysis-api/ for the migration.
at org.jetbrains.kotlin.caches.resolve.KotlinCacheService$Companion.getInstance(KotlinCacheService.kt:24)
at org.jetbrains.kotlin.idea.caches.resolve.ResolutionUtils.getResolutionFacade(ResolutionUtils.kt:31)
at org.jetbrains.kotlin.idea.core.ShortenReferences$ShorteningProcessor.<init>(ShortenReferences.kt:383)
at org.jetbrains.kotlin.idea.core.ShortenReferences$ShortenTypesProcessor.<init>(ShortenReferences.kt:491)
at org.jetbrains.kotlin.idea.core.ShortenReferences.process$lambda$11$0(ShortenReferences.kt:221)
at com.intellij.openapi.application.ActionsKt.runReadAction$lambda$0(actions.kt:25)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runReadAction(NestedLocksThreadingSupport.kt:855)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:1064)
at com.intellij.openapi.application.ActionsKt.runReadAction(actions.kt:25)
at org.jetbrains.kotlin.idea.core.ShortenReferences.process(ShortenReferences.kt:219)
at org.jetbrains.kotlin.idea.core.ShortenReferences.process$lambda$1(ShortenReferences.kt:130)
at org.jetbrains.kotlin.idea.core.ShortenReferences.process$lambda$2(ShortenReferences.kt:129)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$runEdtProgressWriteAction$10(ApplicationImpl.java:1104)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:260)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:44)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:259)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:717)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:792)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:748)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:716)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.lambda$executeProcessUnderProgress$0(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runWithHook(ProgressManagerImpl.java:276)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:240)
at com.intellij.openapi.progress.util.PotemkinProgress.runInSwingThread(PotemkinProgress.java:150)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$runEdtProgressWriteAction$11(ApplicationImpl.java:1104)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteAction(NestedLocksThreadingSupport.kt:998)
at com.intellij.openapi.application.impl.ApplicationImpl.runEdtProgressWriteAction(ApplicationImpl.java:1101)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteActionWithCancellableProgressInDispatchThread(ApplicationImpl.java:1091)
at org.jetbrains.kotlin.idea.core.ShortenReferences.process(ShortenReferences.kt:127)
at org.jetbrains.kotlin.idea.core.ShortenReferences.process(ShortenReferences.kt:143)
at org.jetbrains.kotlin.idea.core.ShortenReferences.process$default(ShortenReferences.kt:139)
at com.ccnode.codegenerator.view.k.a.invoke(SourceFile:78)
at com.intellij.codeInsight.intention.PsiElementBaseIntentionAction.invoke(PsiElementBaseIntentionAction.java:27)
at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.invoke(IntentionActionWrapper.java:79)
at com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.invoke(IntentionActionWithTextCaching.java:248)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandlerKt.invokeIntention$lambda$0(ShowIntentionActionsHandler.kt:419)
at com.intellij.openapi.application.impl.AppImplKt$runnableUnitFunction$1.invoke(appImpl.kt:124)
at com.intellij.openapi.application.impl.AppImplKt$runnableUnitFunction$1.invoke(appImpl.kt:124)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteAction(NestedLocksThreadingSupport.kt:998)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1130)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandlerKt.invokeIntention(ShowIntentionActionsHandler.kt:419)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandlerKt.access$invokeIntention(ShowIntentionActionsHandler.kt:1)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler$Companion.chooseActionAndInvoke$lambda$0$0(ShowIntentionActionsHandler.kt:287)
at com.intellij.openapi.command.impl.CoreCommandProcessor.lambda$executeCommand$2(CoreCommandProcessor.java:143)
at com.intellij.openapi.application.impl.AppImplKt$rethrowCheckedExceptions$2.invoke(appImpl.kt:126)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:736)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:710)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:664)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:1185)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:139)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:77)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:65)
at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:43)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler$Companion.chooseActionAndInvoke(ShowIntentionActionsHandler.kt:275)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseActionAndInvoke(ShowIntentionActionsHandler.kt)
at com.intellij.codeInsight.intention.impl.IntentionListStep.chooseActionAndInvoke(IntentionListStep.java:154)
at com.intellij.codeInsight.intention.impl.IntentionListStep.lambda$applyAction$0(IntentionListStep.java:146)
at com.intellij.ui.popup.AbstractPopup.lambda$dispose$22(AbstractPopup.java:2044)
at com.intellij.openapi.wm.impl.FocusManagerImpl.lambda$doWhenFocusSettlesDown$3(FocusManagerImpl.java:179)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:736)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:710)
at com.intellij.openapi.wm.impl.FocusManagerImpl.lambda$doWhenFocusSettlesDown$5(FocusManagerImpl.java:178)
at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:32)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:173)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:165)
at com.intellij.ui.popup.AbstractPopup.dispose(AbstractPopup.java:2042)
at com.intellij.ui.popup.WizardPopup.dispose(WizardPopup.java:175)
at com.intellij.ui.popup.list.ListPopupImpl.dispose(ListPopupImpl.java:416)
at com.intellij.openapi.util.ObjectTree.runWithTrace(ObjectTree.java:131)
at com.intellij.openapi.util.ObjectTree.executeAll(ObjectTree.java:163)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:211)
at com.intellij.openapi.util.Disposer.dispose(Disposer.java:199)
at com.intellij.ui.popup.WizardPopup.disposeAllParents(WizardPopup.java:303)
at com.intellij.ui.popup.list.ListPopupImpl.disposePopup(ListPopupImpl.java:553)
at com.intellij.ui.popup.list.ListPopupImpl.handleNextStep(ListPopupImpl.java:577)
at com.intellij.ui.popup.list.ListPopupImpl._handleSelect(ListPopupImpl.java:538)
at com.intellij.ui.popup.list.ListPopupImpl.handleSelect(ListPopupImpl.java:458)
at com.intellij.ui.popup.list.ListPopupImpl$1.actionPerformed(ListPopupImpl.java:299)
at com.intellij.ui.popup.WizardPopup.lambda$proceedKeyEvent$0(WizardPopup.java:433)
at com.intellij.openapi.application.WriteIntentReadAction.lambda$run$0(WriteIntentReadAction.java:24)
at com.intellij.openapi.application.impl.AppImplKt$rethrowCheckedExceptions$2.invoke(appImpl.kt:126)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:736)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:710)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:664)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:1185)
at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
at com.intellij.ui.popup.WizardPopup.proceedKeyEvent(WizardPopup.java:432)
at com.intellij.ui.popup.WizardPopup.dispatch(WizardPopup.java:404)
at com.intellij.ui.popup.PopupDispatcher.dispatchKeyEvent(PopupDispatcher.java:123)
at com.intellij.ui.popup.PopupDispatcher.dispatch(PopupDispatcher.java:164)
at com.intellij.ide.IdePopupManager.dispatch(IdePopupManager.java:83)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$0(IdeEventQueue.kt:482)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:736)
at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:710)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:482)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0$0$0$0(IdeEventQueue.kt:337)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:901)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0$0$0(IdeEventQueue.kt:336)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1065)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:117)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1065)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$0(IdeEventQueue.kt:331)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:371)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Suppressed: com.intellij.util.ExceptionUtilRt$RethrownStack: Rethrown at
at com.intellij.util.ExceptionUtilRt.addRethrownStackAsSuppressed(ExceptionUtilRt.java:43)
at com.intellij.util.ExceptionUtilRt.rethrowUnchecked(ExceptionUtilRt.java:17)
at com.intellij.util.ExceptionUtil.rethrowUnchecked(ExceptionUtil.java:131)
at com.intellij.openapi.command.impl.CommandProcessorImpl.finishCommand(CommandProcessorImpl.java:30)
at com.intellij.openapi.command.impl.CoreCommandProcessor.lambda$executeCommand$1(CoreCommandProcessor.java:151)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeNonCancelableSection$3(CoreProgressManager.java:325)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:792)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:748)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$computeInNonCancelableSection$4(CoreProgressManager.java:333)
at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:150)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeInNonCancelableSection(CoreProgressManager.java:333)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:324)
at com.intellij.openapi.command.impl.CoreCommandProcessor.lambda$executeCommand$2(CoreCommandProcessor.java:150)
... 66 more
重现步骤(Repeat steps)
在使用kotlin定义的Mapper里使用对方法参数添加Param注解时报错

当前使用版本(Current Version)
IntelliJ IDEA
2025.3.3• Notes plugincom.ccnode.codegenerator.MyBatisCodeHelperPro 3.5.2+2321Exception
null