SLI-2750 Remove usage of internal or scheduled for removal APIs - #1845
SLI-2750 Remove usage of internal or scheduled for removal APIs#1845damien-urruty-sonarsource wants to merge 3 commits into
Conversation
1c8c470 to
8f7037c
Compare
Code Review ✅ Approved 3 resolved / 3 findingsRemoves usage of internal and scheduled-for-removal IntelliJ platform APIs to ensure 2026.2 compatibility, addressing findings around hardcoded FileType names and test version fallbacks. No open issues found. ✅ 3 resolved✅ Edge Case: Language detection relies on fragile hardcoded FileType names
✅ Bug: LanguageSpecificRequirements second arg changed null → false
✅ Quality: getVersion() silently returns "test" outside unit tests
Implementation Status ✅ 1 / 1 issues implemented✅ SLI-2750 — 2 / 2 objectivesThe PR removes usages of internal and scheduled-for-removal platform APIs, replacing them with alternative approaches like OptionalPluginMarker extensions, PluginAwareClassLoader, and modern method signatures. ✅ 2 complete
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
PluginRepositoryAuthProviderfor now and ignore it in the plugin verifierPluginAwareClassLoader,SonarLintUtils,FileTypeRegistry) instead ofPluginManager.findEnabledPlugin