TextAttributesKey (Crumb crumb) { if (isHovered(crumb)) return EditorColors.BREADCRUMBS_HOVERED; if (isSelected(crumb)) return EditorColors.BREADCRUMBS_CURRENT; if (isAfterSelected(crumb)) return EditorColors.BREADCRUMBS_INACTIVE; return EditorColors.BREADCRUMBS_DEFAULT; }