Details
-
Improvement
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
Description
binding-dom-codec requires information about grouping instantiation within an instance of BindingRuntimeTypes to make leafref mapping predictable.
If can have the equivalent of
BindingRuntimeTypes {
private final ListMultimap<JavaTypeName, JavaTypeName> groupingToInstantiation;
}
populated for each encountered grouping, we can find the corresponding leafref resolution information available via the footprint left by AbstractTypeObjectGenerator.addAsGetterMethodOverride() in GeneratedType. Backreferences stored here should point to instantiation roots, i.e. where a uses statement causes a grouping (and all its referenced grouping) to be referenced when the corresponding SchemaInferenceStack.isGrouping() == false. The footprint can be examined by inquiring GeneratedType.getImplements() type hierarchy.
Attachments
Issue Links
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 104748,36 | Retain grouping/uses instantiation vectors | master | mdsal | Status: MERGED | +2 | +1 |
| 109384,1 | Remove duplicate documentation | master | mdsal | Status: MERGED | +2 | +1 |
| 109385,1 | Reuse found Set | master | mdsal | Status: MERGED | +2 | +1 |