fix: match to correct signature method parameters

This commit is contained in:
oSumAtrIX 2022-04-06 19:36:44 +02:00
parent d15240d033
commit c49071aff7
No known key found for this signature in database
GPG key ID: A9B3094ACDB604B4

View file

@ -75,7 +75,7 @@ internal class SignatureResolver(
}
signature.methodParameters?.let { _ ->
if (signature.methodParameters.all { signatureMethodParameter ->
if (!signature.methodParameters.all { signatureMethodParameter ->
method.parameterTypes.any { methodParameter ->
methodParameter.startsWith(signatureMethodParameter)
}