We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f01203f commit 9ee1fb7Copy full SHA for 9ee1fb7
src/main/kotlin/org/domaframework/doma/intellij/common/util/MethodMatcher.kt
@@ -81,9 +81,10 @@ class MethodMatcher {
81
): PsiMethod? =
82
methods.firstOrNull { method ->
83
val methodParams = method.parameterList.parameters
84
- methodParams.zip(actualParameterTypes).all { (definedParam, actualType) ->
85
- areTypesCompatible(definedParam.type, actualType)
86
- }
+ methodParams.size == actualParameterTypes.size &&
+ methodParams.zip(actualParameterTypes).all { (definedParam, actualType) ->
+ areTypesCompatible(definedParam.type, actualType)
87
+ }
88
}
89
90
private fun areTypesCompatible(
0 commit comments