in src/main/kotlin/jetbrains/buildServer/server/querylang/ast/filters.kt [372:383]
override fun buildFrom(filter: RealObjectFilter<WProject>):RealObjectFilter<FAncestorContainer> {
return RealObjectFilter fil@{obj ->
var proj: WProject? = obj.firstAncestor
while (proj != null) {
if (filter.accepts(proj)) {
return@fil true
}
proj = proj.parent
}
false
}
}