ASTNode[] nodesToReplace= getNodesToReplace(); for (int i= 0; i < nodesToReplace.length; i++) { ASTNode astNode= nodesToReplace[i]; int offset= astNode.getStartPosition(); int length= astNode.getLength(); change.addTextEdit(RefactoringCoreMessages.getString("ExtractTempRefactoring.replace"), SimpleTextEdit.createReplace(offset, length, fTempName));
TextEdit[] edits= createReplaceExpressionWithTempEdits(); for (int i= 0; i < edits.length; i++) { change.addTextEdit(RefactoringCoreMessages.getString("ExtractTempRefactoring.replace"), edits[i]);
	private void addReplaceExpressionWithTemp(TextChange change) throws JavaModelException {		ASTNode[] nodesToReplace= getNodesToReplace();		for (int i= 0; i < nodesToReplace.length; i++) {			ASTNode astNode= nodesToReplace[i];			int offset= astNode.getStartPosition();			int length= astNode.getLength();			change.addTextEdit(RefactoringCoreMessages.getString("ExtractTempRefactoring.replace"), SimpleTextEdit.createReplace(offset, length, fTempName)); //$NON-NLS-1$		}	}