import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.max_elements.MaxElementsStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.min_elements.MinElementsStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.modifier.ModifierStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.module.ModuleStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.module.ModuleStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.module.ModuleStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.must.MustStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.namespace.NamespaceStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.notification.NotificationStatementRFC6020Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.presence.PresenceStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.range.RangeStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.reference.ReferenceStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.refine.RefineStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.refine.RefineStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.refine.RefineStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.require_instance.RequireInstanceStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.revision.RevisionStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.revision_date.RevisionDateStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.status.StatusStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.submodule.SubmoduleStatementRFC6020Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.submodule.SubmoduleStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.type.BaseTypeNamespace;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.type.TypeStatementRFC6020Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.type.TypeStatementRFC7950Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.typedef.TypedefStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.unique.UniqueStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.units.UnitsStatementSupport;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.uses.SourceGroupingNamespace;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.uses.UsesStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.value.ValueStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.when.WhenStatementSupport;
.build();
private static final StatementSupportBundle PRE_LINKAGE_BUNDLE = StatementSupportBundle.derivedFrom(INIT_BUNDLE)
- .addVersionSpecificSupport(VERSION_1, ModuleStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, ModuleStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, ModuleStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, ModuleStatementSupport.rfc7950Instance())
.addVersionSpecificSupport(VERSION_1, SubmoduleStatementRFC6020Support.getInstance())
.addVersionSpecificSupport(VERSION_1_1, SubmoduleStatementRFC7950Support.getInstance())
.addSupport(NamespaceStatementSupport.getInstance())
.addSupport(IdentityNamespace.BEHAVIOUR)
.addSupport(DefaultStatementSupport.getInstance())
.addSupport(StatusStatementSupport.getInstance())
+ .addSupport(BaseTypeNamespace.BEHAVIOUR)
.addVersionSpecificSupport(VERSION_1, TypeStatementRFC6020Support.getInstance())
.addVersionSpecificSupport(VERSION_1_1, TypeStatementRFC7950Support.getInstance())
.addSupport(UnitsStatementSupport.getInstance())
.addSupport(FeatureNamespace.BEHAVIOUR)
.addVersionSpecificSupport(VERSION_1, IfFeatureStatementRFC6020Support.getInstance())
.addVersionSpecificSupport(VERSION_1_1, IfFeatureStatementRFC7950Support.getInstance())
- .addSupport(UsesStatementSupport.getInstance())
.addSupport(GroupingNamespace.BEHAVIOUR)
+ .addSupport(SourceGroupingNamespace.BEHAVIOUR)
+ .addSupport(UsesStatementSupport.getInstance())
.addSupport(ErrorMessageStatementSupport.getInstance())
.addSupport(ErrorAppTagStatementSupport.getInstance())
.addVersionSpecificSupport(VERSION_1, LeafListStatementRFC6020Support.getInstance())
.addSupport(AugmentImplicitHandlingNamespace.BEHAVIOUR)
.addVersionSpecificSupport(VERSION_1, AugmentStatementRFC6020Support.getInstance())
.addVersionSpecificSupport(VERSION_1_1, AugmentStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, RefineStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, RefineStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, RefineStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, RefineStatementSupport.rfc7950Instance())
.addSupport(FeatureStatementSupport.getInstance())
.addSupport(PositionStatementSupport.getInstance())
.addSupport(ValueStatementSupport.getInstance())