return new JavaRefactoringDescriptor(ID_RENAME_ENUM_CONSTANT, project, Messages.format(RefactoringCoreMessages.RenameEnumConstProcessor_descriptor_description, new String[] { field.getElementName(), JavaElementLabels.getElementLabel(field.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED), getNewElementName()}), getComment(), arguments, flags);
JavaRefactoringDescriptor descriptor= new JavaRefactoringDescriptor(ID_RENAME_ENUM_CONSTANT, project, Messages.format(RefactoringCoreMessages.RenameEnumConstProcessor_descriptor_description, new String[] { field.getElementName(), JavaElementLabels.getElementLabel(field.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED), getNewElementName()}), getComment(), arguments, flags); return new RefactoringChangeDescriptor(descriptor);
	public Change createChange(final IProgressMonitor monitor) throws CoreException {		Change change= super.createChange(monitor);		if (change != null) {			final CompositeChange composite= new CompositeChange("", new Change[] { change}) { //$NON-NLS-1$				public final ChangeDescriptor getDescriptor() {					final Map arguments= new HashMap();					final IField field= getField();					arguments.put(JavaRefactoringDescriptor.INPUT, field.getHandleIdentifier());					arguments.put(JavaRefactoringDescriptor.NAME, getNewElementName());					arguments.put(ATTRIBUTE_REFERENCES, Boolean.valueOf(fUpdateReferences).toString());					arguments.put(ATTRIBUTE_TEXTUAL_MATCHES, Boolean.valueOf(fUpdateTextualMatches).toString());					String project= null;					IJavaProject javaProject= field.getJavaProject();					if (javaProject != null)						project= javaProject.getElementName();					int flags= JavaRefactorings.JAR_IMPORTABLE | RefactoringDescriptor.STRUCTURAL_CHANGE;					final IType declaring= field.getDeclaringType();					try {						if (!Flags.isPrivate(declaring.getFlags()))							flags|= RefactoringDescriptor.MULTI_CHANGE;					} catch (JavaModelException exception) {						JavaPlugin.log(exception);					}					return new JavaRefactoringDescriptor(ID_RENAME_ENUM_CONSTANT, project, Messages.format(RefactoringCoreMessages.RenameEnumConstProcessor_descriptor_description, new String[] { field.getElementName(), JavaElementLabels.getElementLabel(field.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED), getNewElementName()}), getComment(), arguments, flags);				}			};			composite.markAsSynthetic();			change= composite;		}		return change;	}