Repository navigation
Conversation
d59faf2 to
db28867
Compare
…ature flag The translator turns the SemSitter documents into the Java tree the checks run on. The flag keeps the default frontend until it turns on.
…as ECJ gives them
…ound trip JSema now keeps the Fact and Symbol messages of the document and reads them with their getters. The member facts of a types answer are converted to a Fact once, so applyFact and fillMethod read one shape. DocumentFacts is gone. A symbol type fact that is not a TypeRef used to throw ClassCastException and is now ignored. The server always sends a TypeRef there.
ae4a758 to
0ed2568
Compare
CI failed: The ruling update job failed because the upstream ruling-qa job was cancelled, so no artifacts were downloaded. The analyzer attributes this to infrastructure cascade rather than the PR changes (related_to_pr=no), with high confidence.OverviewThe ruling update job failed because the upstream ruling-qa job was cancelled, so no artifacts were downloaded. The analyzer attributes this to infrastructure cascade rather than the PR changes (related_to_pr=no), with high confidence. FailuresRuling Update and Notify failed: no ruling artifacts downloaded after upstream ruling-qa cancellation
Summary
Code Review ✅ Approved 🟡 Medium riskThe new SemSitter translator replaces parsing and semantic-model construction when enabled, so translation gaps could alter analysis results across Java files. Routes SemSitter document translation into the Sonar Java tree behind a feature flag that stays off by default, covering symbols, types, and warnings, with enum constant constructors and annotation values kept as ECJ provides them and unresolved methods given the unknown type as owner. No issues found. Verification Rules 3/3 met Repos 1 inspected · PRs 1 inspectedFunctional validation No results Rules 3 passed 2 not applicable
Broader impact Repos 1 inspected PRs 1 inspectedCross-repo 1 repository inspected 0 open impactsCross-PR 1 PR inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment Tip Comment 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 |
|
|
This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically |




Stacked on #6547.
Summary
The flag stays off by default. The recorded server answers the translator tests replay are #6555, not this PR. The PVF-only flag flip and the bundled server stay on #6548 and are thrown away after the smoke test.
Test plan
java-frontend-semsittermodule tests