import java.util.List; class Test { void foo() { List> a = bar(); } List> bar() { return null; } }