Allow derived context to be reused
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / input / DeclaredInputEffectiveStatement.java
index a50542a2083a1702b131fcf5e6ea4c608ac6c267..cd11bcb306218893bc57873038e151b39de3c7d8 100644 (file)
@@ -32,6 +32,13 @@ final class DeclaredInputEffectiveStatement extends WithSubstatements<QName, Inp
         this.path = path;
     }
 
+    DeclaredInputEffectiveStatement(final int flags, final DeclaredInputEffectiveStatement original,
+            final SchemaPath path) {
+        super(original);
+        this.flags = flags;
+        this.path = path;
+    }
+
     @Override
     @Deprecated
     public SchemaPath getPath() {