SONARJAVA-6431 Centralize Tree.Kind assignments - #5886
Conversation
mostafa-mohammed-sonarsource
left a comment
There was a problem hiding this comment.
✅, but I believe the base branch needs to be ac/SONARJAVA-6430
d51c356 to
cbf7416
Compare
cbf7416 to
bbf1052
Compare
|
Code Review ✅ Approved 1 resolved / 1 findingsCentralizes assignment and class kind lists in Tree.Kind and updates Java checks and visitors to use them. Consider updating ExpressionComplexityCheck to appropriately scope enum and interface bodies alongside the new complexity-reset boundaries. ✅ 1 resolved✅ Bug: ExpressionComplexityCheck now scopes enum/interface bodies
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |




Summary by Gitar
CLASS_KINDSandASSIGNMENT_KINDStoTree.Kindfor cleaner visitor node registration.This will update automatically on new commits.