Some rules are now relying on warnings raised by ECJ to raise issues. However, positions between warnings and syntax trees are not aligned, leading to some complexity in the way we raise issues.
- We had to introduce a new API to report from a warning
- We often have to check that trees are included in a warning and vice-versa
Precomputing to which tree a warning is assigned to would simplify the overall process.