Repository navigation
SONARJAVA-7252 Decouple the Java frontend from Eclipse JDT core - #6416
aurelien-coet-sonarsource wants to merge 5 commits into
Conversation
d8253da to
16d2e58
Compare
16d2e58 to
e626ca0
Compare
|
gitar review this PR |
Review queued. Results will appear in the dashboard comment once it completes. |
|
/pvf |
|
📊 Performance Validation complete |
12688a4 to
33e1370
Compare
2e818e1 to
d6f7139
Compare
d6f7139 to
47d2a02
Compare
Code Review ✅ Approved 2 closed / 2 findings🟡 Medium risk · Replacing ECJ bindings with lazy semantic attachments across Java parsing could misresolve symbols or types and distort downstream analysis results. Decouples the Java frontend from Eclipse JDT core by replacing shared-tree ECJ bindings with lazy semantic attachments and moving diagnostic production and annotation handling into dedicated ECJ classes. Resolved the abstract ✅ 2 closed✅ Quality: New abstract Type.directSuperTypes() breaks public API implementors
✅ Quality: Public Sema API now exposes internal JProblem type
Verification Rules 1/1 met Repos 3 inspected · PRs 1 inspectedFunctional validation No results Rules 1 passed 2 not applicable
Broader impact Repos 3 inspected PRs 1 inspectedCross-repo 3 repositories inspected 0 open impacts
Cross-PR 1 PR inspected 0 open impacts
Auto-approval Not enabledFor more verification details, 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 |
|




Summary by Gitar
EcjTreeBindingsandEcjSemanticAttachmentEcjDiagnosticProviderand annotation handling intoEcjSymbolMetadataType.directSuperTypes()andSymbol.MethodSymbol.defaultValue()withSema.getEnvironmentCleaner()defaultSemanticValuessupplier constants for unknown types and symbolsundefinedTypesfromJSemaontoCompilationUnitTreeImplThis will update automatically on new commits.