return new JavaRefactoringDescriptor(ID_RENAME_LOCAL_VARIABLE, project, Messages.format(RefactoringCoreMessages.RenameLocalVariableProcessor_descriptor_description, new String[] { fCurrentName, JavaElementLabels.getElementLabel(fLocalVariable.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED), fNewName}), getComment(), arguments, RefactoringDescriptor.NONE);
JavaRefactoringDescriptor descriptor= new JavaRefactoringDescriptor(ID_RENAME_LOCAL_VARIABLE, project, Messages.format(RefactoringCoreMessages.RenameLocalVariableProcessor_descriptor_description, new String[] { fCurrentName, JavaElementLabels.getElementLabel(fLocalVariable.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED), fNewName}), getComment(), arguments, RefactoringDescriptor.NONE); return new RefactoringChangeDescriptor(descriptor);
	public Change createChange(IProgressMonitor monitor) throws CoreException {		try {			Change change= fChange;			if (change != null) {				final CompositeChange composite= new CompositeChange("", new Change[] { change}) { //$NON-NLS-1$					public final ChangeDescriptor getDescriptor() {						final Map arguments= new HashMap();						arguments.put(JavaRefactoringDescriptor.INPUT, fCu.getHandleIdentifier());						arguments.put(JavaRefactoringDescriptor.NAME, getNewElementName());						final ISourceRange range= fLocalVariable.getNameRange();						arguments.put(ATTRIBUTE_SELECTION, new Integer(range.getOffset()).toString() + " " + new Integer(range.getLength()).toString()); //$NON-NLS-1$						arguments.put(ATTRIBUTE_REFERENCES, Boolean.valueOf(fUpdateReferences).toString());						String project= null;						IJavaProject javaProject= fCu.getJavaProject();						if (javaProject != null)							project= javaProject.getElementName();						return new JavaRefactoringDescriptor(ID_RENAME_LOCAL_VARIABLE, project, Messages.format(RefactoringCoreMessages.RenameLocalVariableProcessor_descriptor_description, new String[] { fCurrentName, JavaElementLabels.getElementLabel(fLocalVariable.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED), fNewName}), getComment(), arguments, RefactoringDescriptor.NONE);					}				};				composite.markAsSynthetic();				change= composite;			}			return change;		} finally {			monitor.done();		}	}