diff --git a/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/NormalCompletionTest.groovy b/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/NormalCompletionTest.groovy index 5062426f9262..332eb9150e78 100644 --- a/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/NormalCompletionTest.groovy +++ b/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/NormalCompletionTest.groovy @@ -549,6 +549,7 @@ public class Outer { myFixture.assertPreferredCompletionItems 0, 'getAnnotationsAreaOffset' } + @NeedsIndex.ForStandardLibrary(reason = "On emptly indices 'foo' is the only item, so is not filtered out in JavaCompletionProcessor.dispreferStaticAfterInstance") void testAccessStaticViaInstanceSecond() throws Throwable { configure() assert !('foo' in myFixture.lookupElementStrings)