import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.mdsal.binding.runtime.api.ContainerRuntimeType;
import org.opendaylight.yangtools.yang.binding.DataObject;
-import org.opendaylight.yangtools.yang.binding.InstanceIdentifier.Item;
+import org.opendaylight.yangtools.yang.binding.NodeStep;
import org.opendaylight.yangtools.yang.data.impl.schema.Builders;
/**
StructuralContainerCodecContext(final Class<D> cls, final ContainerRuntimeType type,
final CodecContextFactory factory) {
- this(new StructuralContainerCodecPrototype(Item.of(cls), type, factory));
+ this(new StructuralContainerCodecPrototype(new NodeStep<>(cls), type, factory));
}
StructuralContainerCodecContext(final StructuralContainerCodecPrototype prototype) {