List<JsonSchemaTreeNode> (List<JsonSchemaObject> children) { List<JsonSchemaTreeNode> nodes = new ArrayList<>(children.size()); for (JsonSchemaObject child: children) { nodes.add(new JsonSchemaTreeNode(this, child)); } return nodes; }