void () { ((AdvancedSettingsImpl)AdvancedSettings.getInstance()).setSetting("java.completion.qualifier.as.argument", true, getTestRootDisposable()); myFixture.configureByText("Test.java", """ package org.test; public abstract class Test { void run() { "test".test4<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; public abstract class Test { void run() { test4("test", <caret>); } public static <T extends String> void test4(T t, T t2) { } } """); }