void (Collection bars) { <warning descr="'for' loop can be replaced with enhanced 'for'">for</warning>(Iterator<List> it = bars.iterator(); it .hasNext();){ final List bar = it.next(); bar.size(); } }