UastKotlinPsiVariable psiParent made lazy to eliminate recursion when building UAST parents
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
fun getElementsAdditionalResolve(string: String): String {
|
||||
|
||||
val arr = listOf("1", "2")
|
||||
|
||||
when (string) {
|
||||
"aaaa" -> {
|
||||
return "bindingContext"
|
||||
}
|
||||
|
||||
else -> {
|
||||
val (bindingContext, statementFilter) = arr
|
||||
return bindingContext
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user