CheckedTreeNode (ArtifactDependencyNode node) { CheckedTreeNode treeNode = new CheckedTreeNode(node); for (ArtifactDependencyNode dependency : node.getDependencies()) { treeNode.add(createDependencyTreeNode(dependency)); } return treeNode; }