import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.YangVersion;
import org.opendaylight.yangtools.yang.parser.openconfig.stmt.OpenConfigVersionSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.namespace.ChildSchemaNodeNamespace;
import org.opendaylight.yangtools.yang.parser.rfc7950.namespace.ModuleQNameToPrefix;
-import org.opendaylight.yangtools.yang.parser.rfc7950.namespace.URIStringToImportPrefix;
+import org.opendaylight.yangtools.yang.parser.rfc7950.namespace.YangNamespaceContextNamespace;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.XPathSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.action.ActionStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.anydata.AnydataStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.augment.AugmentStatementRFC7950Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.base.BaseStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.belongs_to.BelongsToStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.bit.BitStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.bit.BitStatementRFC7950Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.case_.CaseStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.case_.CaseStatementRFC7950Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.choice.ChoiceStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.choice.ChoiceStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.bit.BitStatementSupport;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.case_.CaseStatementSupport;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.choice.ChoiceStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.config.ConfigStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.contact.ContactStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.container.ContainerStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.container.ContainerStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.container.ContainerStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.default_.DefaultStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.description.DescriptionStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.deviate.DeviateStatementRFC6020Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.deviate.DeviateStatementRFC7950Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.deviation.DeviationStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.enum_.EnumStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.enum_.EnumStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.enum_.EnumStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.error_app_tag.ErrorAppTagStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.error_message.ErrorMessageStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.extension.ExtensionStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.feature.FeatureStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.fraction_digits.FractionDigitsStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.grouping.GroupingStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.grouping.GroupingStatementRFC7950Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.identity.IdentityStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.identity.IdentityStatementRFC7950Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.if_feature.IfFeatureStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.import_.ImportStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.import_.ImportStatementRFC7950Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.include.IncludeStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.include.IncludeStatementRFC7950Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.input.InputStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.input.InputStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.grouping.GroupingStatementSupport;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.identity.IdentityStatementSupport;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.if_feature.IfFeatureStatementRFC6020Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.if_feature.IfFeatureStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.import_.ImportStatementSupport;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.include.IncludeStatementSupport;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.input.InputStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.key.KeyStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.leaf.LeafStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.leaf_list.LeafListStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.leaf_list.LeafListStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.leaf_list.LeafListStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.length.LengthStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.ConfigListWarningNamespace;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.ListStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.ListStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.ListStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.mandatory.MandatoryStatementSupport;
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.notification.NotificationStatementRFC7950Support;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.ordered_by.OrderedByStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.organization.OrganizationStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.output.OutputStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.output.OutputStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.output.OutputStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.path.PathStatementSupport;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.pattern.PatternStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.pattern.PatternStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.pattern.PatternStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.position.PositionStatementSupport;
import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.prefix.PrefixStatementSupport;
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.rpc.RpcStatementRFC6020Support;
-import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.rpc.RpcStatementRFC7950Support;
+import org.opendaylight.yangtools.yang.parser.rfc7950.stmt.rpc.RpcStatementSupport;
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;
import org.opendaylight.yangtools.yang.parser.spi.ModuleNamespace;
import org.opendaylight.yangtools.yang.parser.spi.NamespaceToModule;
import org.opendaylight.yangtools.yang.parser.spi.PreLinkageModuleNamespace;
+import org.opendaylight.yangtools.yang.parser.spi.SchemaTreeNamespace;
import org.opendaylight.yangtools.yang.parser.spi.SubmoduleNamespace;
import org.opendaylight.yangtools.yang.parser.spi.TypeNamespace;
import org.opendaylight.yangtools.yang.parser.spi.meta.ModelProcessingPhase;
.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())
- .addVersionSpecificSupport(VERSION_1, ImportStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, ImportStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, IncludeStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, IncludeStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, ImportStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, ImportStatementSupport.rfc7950Instance())
+ .addVersionSpecificSupport(VERSION_1, IncludeStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, IncludeStatementSupport.rfc7950Instance())
.addSupport(BelongsToStatementSupport.getInstance())
.addSupport(PrefixStatementSupport.getInstance())
.addSupport(YangVersionStatementSupport.getInstance())
.addSupport(ImportPrefixToModuleCtx.BEHAVIOUR)
.addSupport(BelongsToPrefixToModuleCtx.BEHAVIOUR)
.addSupport(ModuleQNameToPrefix.BEHAVIOUR)
- .addSupport(URIStringToImportPrefix.BEHAVIOUR)
.addSupport(BelongsToModuleContext.BEHAVIOUR)
.addSupport(QNameToStatementDefinition.BEHAVIOUR)
.addSupport(BelongsToPrefixToModuleName.BEHAVIOUR)
.addSupport(YinElementStatementSupport.getInstance())
.addSupport(ArgumentStatementSupport.getInstance())
.addSupport(ExtensionStatementSupport.getInstance())
- .addSupport(new ChildSchemaNodeNamespace<>())
+ .addSupport(SchemaTreeNamespace.getInstance())
.addSupport(ExtensionNamespace.BEHAVIOUR)
.addSupport(TypedefStatementSupport.getInstance())
.addSupport(TypeNamespace.BEHAVIOUR)
- .addVersionSpecificSupport(VERSION_1, IdentityStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, IdentityStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, IdentityStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, IdentityStatementSupport.rfc7950Instance())
.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(RequireInstanceStatementSupport.getInstance())
- .addVersionSpecificSupport(VERSION_1, BitStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, BitStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, BitStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, BitStatementSupport.rfc7950Instance())
.addSupport(PathStatementSupport.strictInstance())
- .addVersionSpecificSupport(VERSION_1, EnumStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, EnumStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, EnumStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, EnumStatementSupport.rfc7950Instance())
.addSupport(LengthStatementSupport.getInstance())
- .addVersionSpecificSupport(VERSION_1, PatternStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, PatternStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, PatternStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, PatternStatementSupport.rfc7950Instance())
.addVersionSpecificSupport(VERSION_1_1, ModifierStatementSupport.getInstance())
.addSupport(RangeStatementSupport.getInstance())
.addSupport(KeyStatementSupport.getInstance())
- .addVersionSpecificSupport(VERSION_1, ContainerStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, ContainerStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, GroupingStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, GroupingStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, ListStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, ListStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, ContainerStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, ContainerStatementSupport.rfc7950Instance())
+ .addVersionSpecificSupport(VERSION_1, GroupingStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, GroupingStatementSupport.rfc7950Instance())
+ .addVersionSpecificSupport(VERSION_1, ListStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, ListStatementSupport.rfc7950Instance())
.addSupport(ConfigListWarningNamespace.BEHAVIOUR)
.addSupport(UniqueStatementSupport.getInstance())
.addVersionSpecificSupport(VERSION_1_1, ActionStatementSupport.getInstance())
- .addVersionSpecificSupport(VERSION_1, RpcStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, RpcStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, InputStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, InputStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, OutputStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, OutputStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, RpcStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, RpcStatementSupport.rfc7950Instance())
+ .addVersionSpecificSupport(VERSION_1, InputStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, InputStatementSupport.rfc7950Instance())
+ .addVersionSpecificSupport(VERSION_1, OutputStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, OutputStatementSupport.rfc7950Instance())
.addVersionSpecificSupport(VERSION_1, NotificationStatementRFC6020Support.getInstance())
.addVersionSpecificSupport(VERSION_1_1, NotificationStatementRFC7950Support.getInstance())
.addSupport(FractionDigitsStatementSupport.getInstance())
.addValidationBundle(ValidationBundleType.SUPPORTED_AUGMENT_TARGETS,
YangValidationBundles.SUPPORTED_AUGMENT_TARGETS)
- // FIXME: 6.0.0: we do not seem to need this validation bundle
+ // FIXME: 7.0.0: we do not seem to need this validation bundle
.addValidationBundle(ValidationBundleType.SUPPORTED_CASE_SHORTHANDS,
YangValidationBundles.SUPPORTED_CASE_SHORTHANDS)
.addSupport(DeviationStatementSupport.getInstance())
.addVersionSpecificSupport(VERSION_1, DeviateStatementRFC6020Support.getInstance())
.addVersionSpecificSupport(VERSION_1_1, DeviateStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, ChoiceStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, ChoiceStatementRFC7950Support.getInstance())
- .addVersionSpecificSupport(VERSION_1, CaseStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, CaseStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, ChoiceStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, ChoiceStatementSupport.rfc7950Instance())
+ .addVersionSpecificSupport(VERSION_1, CaseStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, CaseStatementSupport.rfc7950Instance())
.addSupport(MustStatementSupport.createInstance(xpathSupport))
.addSupport(MandatoryStatementSupport.getInstance())
.addSupport(AnyxmlStatementSupport.getInstance())
.addVersionSpecificSupport(VERSION_1_1, AnydataStatementSupport.getInstance())
.addSupport(FeatureNamespace.BEHAVIOUR)
- .addSupport(IfFeatureStatementSupport.getInstance())
- .addSupport(UsesStatementSupport.getInstance())
+ .addVersionSpecificSupport(VERSION_1, IfFeatureStatementRFC6020Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1_1, IfFeatureStatementRFC7950Support.getInstance())
.addSupport(GroupingNamespace.BEHAVIOUR)
+ .addSupport(SourceGroupingNamespace.BEHAVIOUR)
+ .addSupport(UsesStatementSupport.getInstance())
.addSupport(ErrorMessageStatementSupport.getInstance())
.addSupport(ErrorAppTagStatementSupport.getInstance())
- .addVersionSpecificSupport(VERSION_1, LeafListStatementRFC6020Support.getInstance())
- .addVersionSpecificSupport(VERSION_1_1, LeafListStatementRFC7950Support.getInstance())
+ .addVersionSpecificSupport(VERSION_1, LeafListStatementSupport.rfc6020Instance())
+ .addVersionSpecificSupport(VERSION_1_1, LeafListStatementSupport.rfc7950Instance())
.addSupport(PresenceStatementSupport.getInstance())
.addSupport(MaxElementsStatementSupport.getInstance())
.addSupport(MinElementsStatementSupport.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())
+ .addSupport(YangNamespaceContextNamespace.BEHAVIOUR)
.build();
}
}