@@ -0,0 +1,1578 @@
+/*%0A * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.%0A *%0A * This program and the accompanying materials are made available under the%0A * terms of the Eclipse Public License v1.0 which accompanies this distribution,%0A * and is available at http://www.eclipse.org/legal/epl-v10.html%0A */%0Apackage org.opendaylight.yangtools.yang.data.api.schema.tree.spi;%0A%0Aimport com.google.common.base.MoreObjects;%0Aimport com.google.common.base.Preconditions;%0Aimport org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;%0Aimport org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidate;%0Aimport org.opendaylight.yangtools.yang.data.api.schema.tree.DataTreeCandidateNode;%0A%0A/**%0A * Default utility implementation of the %7B@link DataTreeCandidate%7D contract.%0A */%0Apublic final class DefaultDataTreeCandidate implements DataTreeCandidate %7B%0A    private final YangInstanceIdentifier rootPath;%0A    private final DataTreeCandidateNode rootNode;%0A%0A    public DefaultDataTreeCandidate(final YangInstanceIdentifier rootPath, final DataTreeCandidateNode rootNode) %7B%0A        this.rootPath = Preconditions.checkNotNull(rootPath);%0A        this.rootNode = Preconditions.checkNotNull(rootNode);%0A    %7D%0A%0A    @Override%0A    public DataTreeCandidateNode getRootNode() %7B%0A        return rootNode;%0A    %7D%0A%0A    @Override%0A    public YangInstanceIdentifier getRootPath() %7B%0A        return rootPath;%0A    %7D%0A%0A    @Override%0A    public final String toString() %7B%0A        return MoreObjects.toStringHelper(this).add(%22rootPath%22, getRootPath()).add(%22rootNode%22, getRootNode()).toString();%0A    %7D%0A%7D%0A

Add DefaultDataTreeCandidate utility class