while (handle != null && !(lockCount >= 2 && sawWait)) {
while (handle != null && !(lockCount >= 2 && sawWaitOrNotify)) {
	public boolean preScreen(MethodGen mg) {		ConstantPoolGen cpg = mg.getConstantPool();		int lockCount = mg.isSynchronized() ? 1 : 0;		boolean sawWait = false;		InstructionHandle handle = mg.getInstructionList().getStart();		while (handle != null && !(lockCount >= 2 && sawWait)) {			Instruction ins = handle.getInstruction();			if (ins instanceof MONITORENTER)				++lockCount;			else if (ins instanceof INVOKEVIRTUAL) {				INVOKEVIRTUAL inv = (INVOKEVIRTUAL) ins;				if (inv.getMethodName(cpg).equals("wait"))					sawWait = true;			}			handle = handle.getNext();		}		return lockCount >= 2 && sawWait;	}