abstract class AbstractLeafrefSpecificationSupport extends AbstractStatementSupport<String, LeafrefSpecification,
EffectiveStatement<String, LeafrefSpecification>> {
AbstractLeafrefSpecificationSupport() {
- super(YangStmtMapping.TYPE, CopyPolicy.DECLARED_COPY);
+ super(YangStmtMapping.TYPE, StatementPolicy.legacyDeclaredCopy());
}
@Override
throw noPath(stmt);
}
- final LeafrefTypeBuilder builder = BaseTypes.leafrefTypeBuilder(stmt.wrapSchemaPath());
+ final LeafrefTypeBuilder builder = BaseTypes.leafrefTypeBuilder(stmt.argumentAsTypeQName());
for (final EffectiveStatement<?, ?> subStmt : substatements) {
if (subStmt instanceof PathEffectiveStatement) {