Skip to content

Commit 2ccf5b2

Browse files
committed
Relaxed literal directive suggestions
1 parent 52a0e18 commit 2ccf5b2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/kotlin/org/domaframework/doma/intellij/common/sql/directive/LiteralDirectiveHandler.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import com.intellij.psi.PsiElement
2121
import com.intellij.psi.PsiFile
2222
import com.intellij.psi.PsiMethod
2323
import org.domaframework.doma.intellij.common.dao.findDaoMethod
24-
import org.domaframework.doma.intellij.common.psi.PsiTypeChecker
2524
import org.domaframework.doma.intellij.extension.psi.searchParameter
2625

2726
class LiteralDirectiveHandler(
@@ -39,9 +38,7 @@ class LiteralDirectiveHandler(
3938
) { daoMethod, bind ->
4039
daoMethod
4140
?.searchParameter(bind)
42-
?.filter {
43-
PsiTypeChecker.isBaseClassType(it.type)
44-
}?.map { param -> VariableLookupItem(param) }
41+
?.map { param -> VariableLookupItem(param) }
4542
?.toList()
4643
?: emptyList()
4744
}

0 commit comments

Comments
 (0)