Details
-
Sub-task
-
Status: Resolved
-
Medium
-
Resolution: Done
-
None
Description
mdsal-binding-java-api-generator's InterfaceTemplate needs to generate a
interface Foo extends DataObject { static @NonNull String bindingToString(final @NonNull Foo obj) { // ... } }
method from the contents of generated builder implementation objects. Those need to defer to bindingToString() for the actual computation. The method needs to be static, so it can force its argument to also implement AugmentationHolder.
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 90748,21 | Generate bindingToString() and use it in generated implementations | master | mdsal | Status: MERGED | +2 | +1 |