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