void () { ((AdvancedSettingsImpl)AdvancedSettings.getInstance()).setSetting("java.completion.qualifier.as.argument", true, getTestRootDisposable()); myFixture.configureByText("Test.java", """ package org.test; import java.util.ArrayList; import java.util.List; public abstract class Test { private static void test2(List<? extends CharSequence> l) { l.get(0).testPrint<caret> } public static void testPrint(CharSequence charSequence) {} } """); myFixture.complete(CompletionType.BASIC, 3); myFixture.type('\n'); myFixture.checkResult(""" package org.test; import java.util.ArrayList; import java.util.List; public abstract class Test { private static void test2(List<? extends CharSequence> l) { testPrint(l.get(0)); } public static void testPrint(CharSequence charSequence) {} } """); }