From 4d035f7ab63b7f7c2c3f0f16ccf03c181bdfdc18 Mon Sep 17 00:00:00 2001 From: xterao Date: Fri, 22 Aug 2025 14:50:37 +0900 Subject: [PATCH] Add exception analyzer configuration and update supported version. --- gradle.properties | 2 +- .../processor/paramtype/SqlProcessorParamTypeCheckProcessor.kt | 3 +-- src/main/resources/META-INF/plugin.xml | 3 ++- .../doma/intellij/document/SqlSymbolDocumentTestCase.kt | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index 68d96630..0b075770 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ pluginName = Doma Tools for IntelliJ pluginRepositoryUrl = https://github.com/domaframework/doma-tools-for-intellij pluginVersion = 2.1.2-beta -pluginSinceBuild=231 +pluginSinceBuild=233 platformType = IC platformVersion = 2024.3.1 diff --git a/src/main/kotlin/org/domaframework/doma/intellij/inspection/dao/processor/paramtype/SqlProcessorParamTypeCheckProcessor.kt b/src/main/kotlin/org/domaframework/doma/intellij/inspection/dao/processor/paramtype/SqlProcessorParamTypeCheckProcessor.kt index f7b92f55..09c45b36 100644 --- a/src/main/kotlin/org/domaframework/doma/intellij/inspection/dao/processor/paramtype/SqlProcessorParamTypeCheckProcessor.kt +++ b/src/main/kotlin/org/domaframework/doma/intellij/inspection/dao/processor/paramtype/SqlProcessorParamTypeCheckProcessor.kt @@ -15,7 +15,6 @@ */ package org.domaframework.doma.intellij.inspection.dao.processor.paramtype -import androidx.compose.compiler.plugins.kotlin.lower.fastForEachIndexed import com.intellij.codeInspection.ProblemsHolder import com.intellij.psi.PsiClassType import com.intellij.psi.PsiType @@ -64,7 +63,7 @@ class SqlProcessorParamTypeCheckProcessor( val biFunctionClassType = (biFunctionParam.type as? PsiClassType) val identifier = biFunctionParam.nameIdentifier ?: return - biFunctionClassType?.parameters?.fastForEachIndexed { index, param -> + biFunctionClassType?.parameters?.forEachIndexed { index, param -> if (param == null || !checkBiFunctionParam(index, param)) { ValidationMethodBiFunctionParamResult( identifier, diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index f7a21c45..84ee4153 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -10,7 +10,7 @@ org.intellij.intelliLang org.toml.lang org.jetbrains.kotlin - + messages.DomaToolsBundle messages.LLMInstallerBundle @@ -22,6 +22,7 @@ +