import java.util.*; class Test { List<String> l; void foo() { l = new ArrayList<String>(); } }