import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
import org.opendaylight.yangtools.yang.parser.spi.meta.NamespaceBehaviour;
import org.opendaylight.yangtools.yang.parser.spi.meta.StatementNamespace;
-import org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext;
/**
* Module namespace. All modules known to the reactor are populated to this namespace. Each module is identified
* by a {@link SourceIdentifier}.
*/
-public interface ModuleNamespace
+public final class ModuleNamespace
extends StatementNamespace<SourceIdentifier, ModuleStatement, ModuleEffectiveStatement> {
- NamespaceBehaviour<SourceIdentifier, StmtContext<?, ModuleStatement, ModuleEffectiveStatement>,
- @NonNull ModuleNamespace> BEHAVIOUR = NamespaceBehaviour.global(ModuleNamespace.class);
+ public static final @NonNull NamespaceBehaviour<?, ?, ?> BEHAVIOUR =
+ NamespaceBehaviour.global(ModuleNamespace.class);
+
+ private ModuleNamespace() {
+ // Hidden on purpose
+ }
}