in generator/src/main/kotlin/space/jetbrains/api/generator/GeneratePartials.kt [367:376]
fun impl(dto: HA_Dto, current: Set<String>) {
val res = current + cfById.getValue(dto.id).allFieldNamesToPartials
.mapNotNullTo(mutableSetOf()) { (name, types) ->
if (types.mapNotNullTo(mutableSetOf()) { it }.size > 1) name else null
}
dto.inheritors.forEach {
impl(model.resolveDto(it), res)
}
result[dto.id] = res
}