void () { ((AdvancedSettingsImpl)AdvancedSettings.getInstance()).setSetting("java.completion.qualifier.as.argument", true, getTestRootDisposable()); myFixture.addClass( """ package org.test2; public abstract class Test2 { public static <T extends String> void test6(T t, T t2) { } } """); myFixture.configureByText("Test.java", """ package org.test; import static org.test2.Test2.*; public abstract class Test { void run() { "test".test6<caret> } public static <T extends String> void test4(T t, T t2) { } } """); myFixture.complete(CompletionType.BASIC, 3); myFixture.type('\n'); myFixture.checkResult(""" package org.test; import static org.test2.Test2.*; public abstract class Test { void run() { test6("test", ); } public static <T extends String> void test4(T t, T t2) { } } """); }