CheckedTreeNode (final BreakpointItem breakpoint) { CheckedTreeNode parent = myRoot; for (int i = 0; i < myGroupingRules.size(); i++) { XBreakpointGroup group = myGroupingRules.get(i).getGroup(breakpoint.getBreakpoint(), Collections.emptyList()); if (group != null) { parent = getOrCreateGroupNode(parent, group, i); if (breakpoint.isEnabled()) { parent.setChecked(true); } } } return parent; }