void () { myFixture.configureByText("a.java", """ import java.util.List; class Foo { <T> List<T> getList() {return null;} { List l; l = get<caret>List(); } }"""); final IntentionAction intentionAction = myFixture.getAvailableIntention(JavaBundle.message("intention.add.explicit.type.arguments.family")); assertNull(intentionAction); }