return new JavaRefactoringDescriptor(ID_INLINE_CONSTANT, project, Messages.format(RefactoringCoreMessages.InlineConstantRefactoring_descriptor_description, new String[] {JavaElementLabels.getElementLabel(fField, JavaElementLabels.ALL_FULLY_QUALIFIED), JavaElementLabels.getElementLabel(fField.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED)}), getComment(), arguments, flags);
return new RefactoringChangeDescriptor(new JavaRefactoringDescriptor(ID_INLINE_CONSTANT, project, Messages.format(RefactoringCoreMessages.InlineConstantRefactoring_descriptor_description, new String[] {JavaElementLabels.getElementLabel(fField, JavaElementLabels.ALL_FULLY_QUALIFIED), JavaElementLabels.getElementLabel(fField.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED)}), getComment(), arguments, flags));
	public Change createChange(IProgressMonitor pm) throws CoreException {		try {			pm.beginTask(RefactoringCoreMessages.InlineConstantRefactoring_preview, 2); 			final DynamicValidationStateChange result= new DynamicValidationStateChange(RefactoringCoreMessages.InlineConstantRefactoring_inline) {							public final ChangeDescriptor getDescriptor() {					final Map arguments= new HashMap();					arguments.put(JavaRefactoringDescriptor.INPUT, fSelectionCu.getHandleIdentifier());					arguments.put(ATTRIBUTE_SELECTION, new Integer(fSelectionStart).toString() + " " + new Integer(fSelectionLength).toString()); //$NON-NLS-1$					arguments.put(ATTRIBUTE_REMOVE, Boolean.valueOf(fRemoveDeclaration).toString());					arguments.put(ATTRIBUTE_REPLACE, Boolean.valueOf(fReplaceAllReferences).toString());					String project= null;					IJavaProject javaProject= fSelectionCu.getJavaProject();					if (javaProject != null)						project= javaProject.getElementName();					int flags= RefactoringDescriptor.STRUCTURAL_CHANGE;					try {						if (!Flags.isPrivate(fField.getFlags()))							flags|= RefactoringDescriptor.MULTI_CHANGE;					} catch (JavaModelException exception) {						JavaPlugin.log(exception);					}					return new JavaRefactoringDescriptor(ID_INLINE_CONSTANT, project, Messages.format(RefactoringCoreMessages.InlineConstantRefactoring_descriptor_description, new String[] {JavaElementLabels.getElementLabel(fField, JavaElementLabels.ALL_FULLY_QUALIFIED), JavaElementLabels.getElementLabel(fField.getParent(), JavaElementLabels.ALL_FULLY_QUALIFIED)}), getComment(), arguments, flags);				}			}; 			result.addAll(fChanges);			return result;		} finally {			pm.done();			fChanges= null;		}	}