String methodSource=method.getSource(); if (needsToChangeVisibility(method)) methodSource= computeNewMethodSource(method);
String methodSource= computeNewMethodSource(method);
	private void addCopyMethodChange(TextChangeManager manager, IMethod method) throws CoreException {		String methodSource=method.getSource();		if (needsToChangeVisibility(method))			methodSource= computeNewMethodSource(method);		String changeName= "copy method '" + JavaElementUtil.createMethodSignature(method) 										+ "' to type '" + getDeclaringType().getElementName() + "'";		if (needsToChangeVisibility(method))			changeName += " (changing its visibility to '"+ "protected" + "')";		ICompilationUnit cu= WorkingCopyUtil.getWorkingCopyIfExists(getSuperType().getCompilationUnit());		manager.get(cu).addTextEdit(changeName, createAddMemberEdit(methodSource));	}