Skip to content

Commit b86ea66

Browse files
committed
Update inspection to check parameter type variables of DAO methods
1 parent 3b3e7a8 commit b86ea66

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

src/main/kotlin/org/domaframework/doma/intellij/inspection/dao/inspector/DaoMethodParamTypeInspection.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import com.intellij.psi.PsiElementVisitor
2222
import org.domaframework.doma.intellij.inspection.dao.visitor.DaoMethodParamTypeInspectionVisitor
2323

2424
class DaoMethodParamTypeInspection : AbstractBaseJavaLocalInspectionTool() {
25-
override fun getDisplayName(): String = "Check return type variable of DAO method"
25+
override fun getDisplayName(): String = "Check parameter type variable of DAO method"
2626

27-
override fun getShortName(): String = "org.domaframework.doma.intellij.args"
27+
override fun getShortName(): String = "org.domaframework.doma.intellij.param"
2828

2929
override fun getGroupDisplayName(): String = "DomaTools"
3030

src/main/resources/inspectionDescriptions/org.domaframework.doma.intellij.args.html

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<html lang="en">
2+
<body>
3+
<p>
4+
This inspection checks that the parameters of DAO methods are properly annotated with Doma's parameter annotations.
5+
It ensures that each parameter is annotated appropriately to maintain consistency and correctness in data access operations.
6+
</p>
7+
</body>
8+
</html>

0 commit comments

Comments
 (0)