for (Iterator<CallSite> i = selfCalls.callSiteIterator(); i.hasNext(); ) { CallSite callSite = i.next();  Method method = callSite.getMethod();   LockDataflow lockDataflow = classContext.getLockDataflow(method); LockSet lockSet = lockDataflow.getFactAtLocation(callSite.getLocation());   }
Set<CallSite> obviouslyLockedSites = findObviouslyLockedCallSites(classContext, selfCalls);
	private void findLockedNonpublicMethods(ClassContext classContext)		throws CFGBuilderException, DataflowAnalysisException {		SelfCalls selfCalls = new SelfCalls(classContext) {			public boolean wantCallsFor(Method method) {				return !method.isPublic();			}		};		selfCalls.execute();		// Find all obviously locked self-call sites		for (Iterator<CallSite> i = selfCalls.callSiteIterator(); i.hasNext(); ) {			CallSite callSite = i.next();			Method method = callSite.getMethod();			// Get the LockDataflow for the site			LockDataflow lockDataflow = classContext.getLockDataflow(method);			LockSet lockSet = lockDataflow.getFactAtLocation(callSite.getLocation());			// Find the ValueNumber of the instance		}/*		JavaClass javaClass = classContext.getJavaClass();		Set<Method> finished = new HashSet<Method>();		Method[] methodList = javaClass.getMethods();		for (int i = 0; i < methodList.length; ++i) {			Method method = workList.removeLast();			if (!finished.contains(method)) {				if (allCallSitesLocked(selfCalls, method, finished)) {					lockedNonpublicMethodSet.add(method);				}				finished.add(method);			}		}*/	}