void () { doTest(""" class Test { static void m(java.util.List<? extends String> l) { fo<caret>o(l.get(0)); } static <T> void foo(T t) { } }""", """ class Test { static void m(java.util.List<? extends String> l) { Test.<String>foo(l.get(0)); } static <T> void foo(T t) { } }"""); }