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 97237db commit 44ade57Copy full SHA for 44ade57
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt
@@ -614,6 +614,11 @@ class UtLambdaModel(
614
companion object {
615
private const val fakeName = "<FAKE>"
616
617
+ /**
618
+ * Create a non-existent lambda with fake method.
619
+ *
620
+ * That's temporary solution for building lambdas from concrete values.
621
+ */
622
fun createFake(id: Int, samType: ClassId, declaringClass: ClassId) =
623
UtLambdaModel(id, samType, declaringClass, fakeName)
624
}
0 commit comments