import org.opendaylight.yangtools.yang.model.api.Module;
import org.opendaylight.yangtools.yang.model.api.SchemaContext;
import org.opendaylight.yangtools.yang.model.api.TypeDefinition;
-import org.opendaylight.yangtools.yang.model.api.TypedSchemaNode;
+import org.opendaylight.yangtools.yang.model.api.TypedDataSchemaNode;
import org.opendaylight.yangtools.yang.model.api.type.LeafrefTypeDefinition;
class LeafRefContextTreeBuilder {
}
}
- } else if (node instanceof TypedSchemaNode) {
- final TypeDefinition<?> type = ((TypedSchemaNode) node).getType();
+ } else if (node instanceof TypedDataSchemaNode) {
+ final TypeDefinition<?> type = ((TypedDataSchemaNode) node).getType();
// FIXME: fix case when type is e.g. typedef -> typedef -> leafref
if (type instanceof LeafrefTypeDefinition) {