Commit aa94156
committed
feat(model): Support aliases for renamed identifier types
Add a map to define aliases for renamed identifier types and use that
when matching types.
Ideally, the aliases should come from the package manager
implementations where the renaming takes place, but that is not possible
because the matching logic is inside the `model` module which is a
dependency of the package manager plugins.
Signed-off-by: Martin Nonnenmacher <[email protected]>1 parent f9b0252 commit aa94156
File tree
2 files changed
+23
-2
lines changed- model/src
- main/kotlin
- test/kotlin
2 files changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
129 | 136 | | |
130 | 137 | | |
131 | | - | |
| 138 | + | |
132 | 139 | | |
133 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
150 | 157 | | |
151 | 158 | | |
0 commit comments