*/
package org.opendaylight.yangtools.yang.data.impl.schema.builder.impl;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.AugmentationIdentifier;
import org.opendaylight.yangtools.yang.data.api.schema.AugmentationNode;
import org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild;
import org.opendaylight.yangtools.yang.data.util.DataSchemaContextNode;
import org.opendaylight.yangtools.yang.model.api.AugmentationSchemaNode;
+@Deprecated(since = "6.0.7", forRemoval = true)
public class ImmutableAugmentationNodeSchemaAwareBuilder extends ImmutableAugmentationNodeBuilder {
-
private final DataNodeContainerValidator validator;
protected ImmutableAugmentationNodeSchemaAwareBuilder(final AugmentationSchemaNode schema) {
return super.withChild(validator.validateChild(child));
}
- public static DataContainerNodeBuilder<AugmentationIdentifier, AugmentationNode> create(
+ public static @NonNull DataContainerNodeBuilder<AugmentationIdentifier, AugmentationNode> create(
final AugmentationSchemaNode schema) {
return new ImmutableAugmentationNodeSchemaAwareBuilder(schema);
}