private static LockCount getLockCount(Dataflow<LockCount> dataflow, InstructionHandle handle, BasicBlock bb)
private static LockCount getLockCount(Dataflow<LockCount, LockCountAnalysis> dataflow, InstructionHandle handle, BasicBlock bb)
	private static LockCount getLockCount(Dataflow<LockCount> dataflow, InstructionHandle handle, BasicBlock bb)		throws DataflowAnalysisException {		LockCount count = new LockCount(0); // assume there are no locks		if (dataflow != null) {			DataflowAnalysis<LockCount> analysis = dataflow.getAnalysis();			analysis.transfer(bb, handle, dataflow.getStartFact(bb), count);		}		return count;	}