}
public static class Builder implements org.opendaylight.yangtools.concepts.Builder<StatementSupportBundle> {
-
- private StatementSupportBundle parent;
private final Map<QName, StatementSupport<?, ?, ?>> statements = new HashMap<>();
private final Map<Class<?>, NamespaceBehaviour<?, ?, ?>> namespaces = new HashMap<>();
+ private StatementSupportBundle parent;
+
Builder(final StatementSupportBundle parent) {
this.parent = parent;
}
public StatementSupportBundle build() {
return new StatementSupportBundle(parent, ImmutableMap.copyOf(statements), ImmutableMap.copyOf(namespaces));
}
-
}
}