for (Iterator<Location> i = locations.iterator(); i.hasNext();) { Location location = i.next();
for (Location location : locations) {
	public LocationAndFactPair getLocationAndFactForInstruction(int pc) {		Collection<Location> locations = getCFG().getLocationsContainingInstructionWithOffset(pc);				LocationAndFactPair result = null;				// Return the first valid frame at any of the returned Locations		for (Iterator<Location> i = locations.iterator(); i.hasNext();) {			Location location = i.next();			try {				TypeFrame frame = getFactAtLocation(location);				if (frame.isValid()) {					result = new LocationAndFactPair(location, frame);					break;				}			} catch (DataflowAnalysisException e) {				// Ignore			}		}				return result;	}