.addSourceLine(mg, sourceFile, location.getHandle()));
.addSourceLine(classContext, mg, sourceFile, location.getHandle()));
	private void analyzeMethod(ClassContext classContext, Method method) throws CFGBuilderException, DataflowAnalysisException {//		System.out.println("Checking " + method);				CFG cfg = classContext.getCFG(method);		LockDataflow lockDataflow = classContext.getLockDataflow(method);		for (Iterator<Location> i = cfg.locationIterator(); i.hasNext();) {			Location location = i.next();			Instruction ins = location.getHandle().getInstruction(); 			if (!(ins instanceof INVOKESTATIC))				continue;						if (!isSleep((INVOKESTATIC) ins, classContext.getConstantPoolGen()))				continue;			//			System.out.println("Found sleep at " + location.getHandle());						LockSet lockSet = lockDataflow.getFactAtLocation(location);			if (lockSet.getNumLockedObjects() > 0) {				MethodGen mg = classContext.getMethodGen(method);				String sourceFile = classContext.getJavaClass().getSourceFileName();				bugReporter.reportBug(new BugInstance("SWL_SLEEP_WITH_LOCK_HELD", NORMAL_PRIORITY)						.addClassAndMethod(mg, sourceFile)						.addSourceLine(mg, sourceFile, location.getHandle()));			}		}	}