import java.util.*; public class Test { List<Integer> f; void foo() { f.add("val"); } }