[MDSAL-649] Import type names where possible Created: 21/Dec/20 Updated: 21/Jun/21 Resolved: 21/Jun/21 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | Binding codegen |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Ilya Igushev | Assignee: | Iaroslav Kholiavko |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
After introducing bindingEquals, bindingHashcode, bindingToString: https://jira.opendaylight.org/browse/MDSAL-470. there were name collisions because importedName() implementation was not able to identify if this name reserved or not for sure. As a quick solution fillyQualifiedName() was used at every place, where importedName() could be wrong. Make importedName() identify all name collisions. Use importedName() instead of fullyQualifiedName() in JavaFileTemplate, where possible. |