mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[java-psi] Make test IDEA-378142 working with an older version of java-annotations
Necessary to backport to 2025.2. JETBRAINS_ANNOTATIONS_COORDINATES_JAVA_8 was updated since then but changing it for 2025.2 seems more risky than tweaking a single test (cherry picked from commit 484ce7c087c61f47f044e72cc2e8982a0f1f1a94) IJ-CR-174927 GitOrigin-RevId: b10adf8b24867d20973a2699cf629dbfb5665223
This commit is contained in:
committed by
intellij-monorepo-bot
parent
50bbd0efa5
commit
19ad203e9b
@@ -379,6 +379,11 @@ public final class PsiTypeNullabilityTest extends LightJavaCodeInsightFixtureTes
|
||||
}
|
||||
|
||||
public void testFBoundResolveUnderNotNull() {
|
||||
myFixture.addClass("""
|
||||
package org.jetbrains.annotations;
|
||||
|
||||
public @interface NotNullByDefault {}
|
||||
""");
|
||||
myFixture.configureByText("Test.java", """
|
||||
import org.jetbrains.annotations.NotNullByDefault;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user