void () { myFixture.addClass("package org.jetbrains.annotations;public class ApiStatus{public @interface Experimental {}}"); myFixture.addClass("class Cls {@org.jetbrains.annotations.ApiStatus.Experimental public void methodA() {} public void methodB() {}}"); myFixture.configureByText("a.java", "class Test {void t(Cls cls) {cls.me<caret>}}"); myFixture.completeBasic(); assertEquals(myFixture.getLookupElementStrings(), List.of("methodB", "methodA")); }