status.addFatalError("Ambigious return value: selected block contains more than one assignment to local variable.");
status.addFatalError("Ambiguous return value: selected block contains more than one assignment to local variable.");
	private void checkLocalWrites(RefactoringStatus status, List followingLocals) {		LocalVariableBinding returnBinding= null;		boolean isHardReturnDeclaration= false;		Iterator iter= fSelectedLocalWrites.iterator();		while (iter.hasNext()) {			LocalVariableBinding binding= (LocalVariableBinding)iter.next();			if (!fStatementAnalyzer.isSelected(binding.declaration)) {				boolean isUsedAfterSelection= followingLocals.contains(binding);				if (returnBinding == null) {					returnBinding= binding;					isHardReturnDeclaration= isUsedAfterSelection;				} else {					if (isHardReturnDeclaration) {						status.addFatalError("Ambigious return value: selected block contains more than one assignment to local variable.");						return;					} else if (isUsedAfterSelection) {						returnBinding= binding;						isHardReturnDeclaration= true;					}				}				// The variable is not part of the read accesses. So we have to create a local variable declaration.				if (!fUsedLocals.contains(binding))					fLocalReturnValueDeclaration= makeDeclaration(binding) + ";"; 			}		}		if (returnBinding != null) {			fReturnStatementBinding= returnBinding;			computeReturnType(returnBinding, isHardReturnDeclaration, status);		}	}