for (Iterator<Map.Entry<Location, Resource>> i = locationToResourceMap.entrySet().iterator(); i.hasNext(); ) { Map.Entry<Location, Resource> entry = i.next();
for (Iterator<Resource> i = resourceCollection.resourceIterator(); i.hasNext(); ) { Resource resource = i.next();
	public void analyzeMethod(ClassContext classContext, Method method,		ResourceTrackerType resourceTracker, Map<Location, Resource> locationToResourceMap)		throws CFGBuilderException, DataflowAnalysisException {		MethodGen methodGen = classContext.getMethodGen(method);		CFG cfg = classContext.getCFG(method);		DepthFirstSearch dfs = classContext.getDepthFirstSearch(method);		if (DEBUG) System.out.println(SignatureConverter.convertMethodSignature(methodGen));		for (Iterator<Map.Entry<Location, Resource>> i = locationToResourceMap.entrySet().iterator();			i.hasNext(); ) {			Map.Entry<Location, Resource> entry = i.next();			Location location = entry.getKey();			Resource resource = entry.getValue();			InstructionHandle handle = location.getHandle();			if (DEBUG) System.out.println("Resource creation at " + handle.getPosition());			ResourceValueAnalysis<Resource> analysis =				new ResourceValueAnalysis<Resource>(methodGen, cfg, dfs, resourceTracker, resource );			Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>> dataflow =				new Dataflow<ResourceValueFrame, ResourceValueAnalysis<Resource>>(cfg, analysis);			dataflow.execute();			inspectResult(classContext.getJavaClass(), methodGen, cfg, dataflow, resource);		}	}