Map ECJ Warnings to syntax trees

Description

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.

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Components

Fix versions

Due date

Priority

Sentry

Created May 31, 2021 at 1:46 PM
Updated October 16, 2024 at 2:11 PM
Resolved June 8, 2021 at 8:07 AM