Bump upstreams
[mdsal.git] / binding / mdsal-binding-generator / src / main / java / org / opendaylight / mdsal / binding / generator / impl / reactor / CompositeRuntimeTypeBuilder.java
index 763f04ab94e0e7ffd9527fa31d4bb981d3b81429..b58527adc250f9bdb32af784ac25c5fc806bf34f 100644 (file)
@@ -109,7 +109,7 @@ abstract class CompositeRuntimeTypeBuilder<S extends EffectiveStatement<?, ?>, R
                 // such in the schema tree.
                 //
                 // That is in general -- 'choice' statements are doing their own thing separately.
-                if (!isAugmentedChild(child.getIdentifier())) {
+                if (!isAugmentedChild(child.argument())) {
                     final var childGen = verifyNotNull(findChildGenerator(generator, child.argument().getLocalName()),
                         "Cannot find child for %s in %s", child, generator);
                     final var childRuntimeType = childGen.createInternalRuntimeType(resolver, child);