void (Project project, Object value, boolean selected, boolean expanded, ColoredTreeCellRenderer renderer) { if (value instanceof BreakpointItemNode node) { BreakpointItem breakpoint = node.getBreakpointItem(); breakpoint.setupRenderer(renderer, project, selected); } else if (value instanceof BreakpointsGroupNode) { XBreakpointGroup group = ((BreakpointsGroupNode<?>)value).getGroup(); renderer.setIcon(group.getIcon(expanded)); if (group instanceof XBreakpointCustomGroup && ((XBreakpointCustomGroup)group).isDefault()) { renderer.append(group.getName(), SIMPLE_CELL_ATTRIBUTES_BOLD); } else { renderer.append(group.getName(), SimpleTextAttributes.SIMPLE_CELL_ATTRIBUTES); } } }