Skip to content

Commit 44ade57

Browse files
committed
add comment
1 parent 97237db commit 44ade57

File tree

1 file changed

+5
-0
lines changed
  • utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api

1 file changed

+5
-0
lines changed

utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,11 @@ class UtLambdaModel(
614614
companion object {
615615
private const val fakeName = "<FAKE>"
616616

617+
/**
618+
* Create a non-existent lambda with fake method.
619+
*
620+
* That's temporary solution for building lambdas from concrete values.
621+
*/
617622
fun createFake(id: Int, samType: ClassId, declaringClass: ClassId) =
618623
UtLambdaModel(id, samType, declaringClass, fakeName)
619624
}

0 commit comments

Comments
 (0)