package p; import java.util.ArrayList; public class A { void m(){ ArrayList <Integer> alist = new ArrayList(); for (Integer integer : alist) { } } }