[java] IDEA-354964 Migrate standard descriptors like JAVA_21 to TYPE_USE annotations

- fix tests
- fixes to show external annotations

GitOrigin-RevId: 79cde38663de10c2985b72e76e98372fef214b20
This commit is contained in:
Mikhail Pyltsin
2024-06-24 22:11:43 +02:00
committed by intellij-monorepo-bot
parent 246f6ab1cc
commit 36f87ac0b6
11 changed files with 15 additions and 15 deletions

View File

@@ -98,8 +98,6 @@ public abstract class LightJavaCodeInsightTestCase extends LightPlatformCodeInsi
@Override
protected void configureModule(@NotNull Module module, @NotNull ModifiableRootModel model, @NotNull ContentEntry contentEntry) {
if (languageLevel.isAtLeast(LanguageLevel.JDK_1_8)) {
//DefaultLightProjectDescriptor.addJetBrainsAnnotations(model);
DefaultLightProjectDescriptor.addJetBrainsAnnotationsJava8AndHigher(model);
}
else {