Split StmtContextUtils.hasParentOfType() implementations
[yangtools.git] / yang / yang-parser-spi / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / SemanticVersionNamespace.java
index 40a7dbba5ba4829364b410a79be5cc12f0537f37..4394b6b4954074c3e8b9bffeab1ffeb99d77793f 100644 (file)
@@ -8,12 +8,16 @@
 package org.opendaylight.yangtools.yang.parser.spi.meta;
 
 import com.google.common.annotations.Beta;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.SemVer;
 import org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace;
 
 /**
- * namespace class for storing semantic version of yang modules
+ * Namespace class for storing semantic version of yang modules.
  */
 @Beta
 public interface SemanticVersionNamespace extends IdentifierNamespace<StmtContext<?, ?, ?>, SemVer> {
+    NamespaceBehaviour<StmtContext<?, ?, ?>, SemVer, @NonNull SemanticVersionNamespace> BEHAVIOUR =
+            NamespaceBehaviour.global(SemanticVersionNamespace.class);
+
 }