in src/main/kotlin/com/github/mkartashev/hserr/language/HsErrStructureAwareNavBar.kt [27:35]
override fun getIcon(o: Any?): Icon? {
return when (o) {
is HsErrFile -> HsErrIcons.FILE
is HsErrSection -> o.presentation.getIcon(false)
is HsErrIntro -> o.presentation.getIcon(false)
is HsErrSubsection -> o.presentation.getIcon(false)
else -> null
}
}