Separate out Module and Submodule interfaces
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / submodule / SubmoduleStatementRFC6020Support.java
index 718e575f1571218d3e39efb228241a33e85a2b68..df4b31fe7e0ac21b117c039c9ad89fdcb67346cf 100644 (file)
@@ -39,6 +39,15 @@ public final class SubmoduleStatementRFC6020Support extends AbstractSubmoduleSta
         .addAny(YangStmtMapping.USES)
         .addOptional(YangStmtMapping.YANG_VERSION)
         .build();
+    private static final SubmoduleStatementRFC6020Support INSTANCE = new SubmoduleStatementRFC6020Support();
+
+    private SubmoduleStatementRFC6020Support() {
+        // Hidden
+    }
+
+    public static SubmoduleStatementRFC6020Support getInstance() {
+        return INSTANCE;
+    }
 
     @Override
     protected SubstatementValidator getSubstatementValidator() {