TextAttributesKey (Crumb c) { return c.isHovered() ? EditorColors.BREADCRUMBS_HOVERED : c.isSelected() ? EditorColors.BREADCRUMBS_CURRENT : c.isLight() && !(c instanceof NavigationCrumb) ? EditorColors.BREADCRUMBS_INACTIVE : EditorColors.BREADCRUMBS_DEFAULT; }