Bug 123946 [quick assist] "Add keyword 'final' to all unchanged variables and properties"
This function can be provide with the "Format" function
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
final IFile file= project.getFolder(DelegateCreator.SCRIPT_FOLDER).getFile(fileName);
		if (!file.exists())
			return false;
		if (resultingCollections == null)
			return true;
		final ChangeCorrectionProposal proposal= new ChangeCorrectionProposal(CorrectionMessages.QuickAssistProcessor_fix_deprecation_name, null, 2, JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE)) {
			private static final int SIZING_WIZARD_HEIGHT= 470;
			private static final int SIZING_WIZARD_WIDTH= 490;
			public final void apply(final IDocument document) {
				RefactoringHistory history= null;
				InputStream stream= null;
				try {
					stream= new BufferedInputStream(file.getContents(true));
					history= RefactoringCore.getHistoryService().readRefactoringHistory(stream, JavaRefactoringDescriptor.DEPRECATION_RESOLVING);
				} catch (CoreException exception) {
					JavaPlugin.log(exception);
				} finally {
					if (stream != null) {
						try {
							stream.close();
						} catch (IOException exception) {
							JavaPlugin.log(exception);
						}
					}
				}
				final FixDeprecationRefactoringWizard wizard= new FixDeprecationRefactoringWizard(context.getCompilationUnit(), node.getStartPosition(), node.getLength());
				final WizardDialog dialog= new WizardDialog(JavaPlugin.getActiveWorkbenchShell(), wizard);
				if (history != null && !history.isEmpty())
					wizard.setRefactoringHistory(history);
				dialog.create();