in intellij/src/main/kotlin/motif/intellij/hierarchy/descriptor/ScopeHierarchySinksSectionDescriptor.kt [36:44]
override fun updateText(text: CompositeAppearance) {
val label: String = if (useLabel) "Consumes" else scope.simpleName
val count: Int = graph.getSinks(scope).count()
text.ending.addText(label)
text.ending.addText(
" " + ScopeHierarchyUtils.getObjectString(count),
getPackageNameAttributes(),
)
}