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