CheckedTreeNode (@NotNull CheckedTreeNode groupNode, @NotNull Tool tool) { CheckedTreeNode toolNode = new CheckedTreeNode(tool); toolNode.setChecked(tool.isEnabled()); groupNode.add(toolNode); nodeWasInserted(toolNode); return toolNode; }