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 3cb7383 commit 2c9d1a3Copy full SHA for 2c9d1a3
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt
@@ -54,6 +54,7 @@ import soot.jimple.Stmt
54
import java.io.File
55
import kotlin.contracts.ExperimentalContracts
56
import kotlin.contracts.contract
57
+import org.utbot.common.isAbstract
58
59
const val SYMBOLIC_NULL_ADDR: Int = 0
60
@@ -575,7 +576,7 @@ class UtLambdaModel(
575
576
val lambdaMethodId: MethodId
577
get() {
578
if (isFake) {
- val targetMethod = samType.jClass.declaredMethods.single()
579
+ val targetMethod = samType.jClass.declaredMethods.single { it.isAbstract }
580
return object : MethodId(
581
declaringClass,
582
fakeName,
0 commit comments