Commit 0318ba3
committed
Introduce static field-level analysis for migration fixes
- Add `MigrationAnalyzer#analyzeFieldOperations` to introspect field-level operations without executing fixes.
- Extend testkit with assertions for field-aware rewrite rules.
- Add unit tests for `FieldAwareRule` and enhanced diagnostics.
- Update schema tools test coverage for field-level analysis.
Signed-off-by: Erik Pförtner <splatcrafter@splatgames.de>1 parent 5d13ef1 commit 0318ba3
13 files changed
Lines changed: 2404 additions & 1 deletion
File tree
- aether-datafixers-core/src/main/java/de/splatgames/aether/datafixers/core/fix
- aether-datafixers-schema-tools/src
- main/java/de/splatgames/aether/datafixers/schematools/analysis
- test/java/de/splatgames/aether/datafixers/schematools/analysis
- aether-datafixers-spring-boot-starter/src/main/java/de/splatgames/aether/datafixers/spring/service
- aether-datafixers-testkit/src
- main/java/de/splatgames/aether/datafixers/testkit/assertion
- test/java/de/splatgames/aether/datafixers/testkit/assertion
aether-datafixers-core/src/main/java/de/splatgames/aether/datafixers/core/fix/DataFixRegistry.java
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
211 | 228 | | |
212 | 229 | | |
213 | 230 | | |
| |||
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
148 | 200 | | |
149 | 201 | | |
150 | 202 | | |
| |||
0 commit comments