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.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java
ICompilationUnit cu= pack1.createCompilationUnit("E.java", buf.toString(), false, null);
		
		StringBuffer selection= new StringBuffer();
		selection.append("        System.out.println(i);\n");
		selection.append("        System.out.println(s);\n");
		
		AssistContext context= getCorrectionContext(cu, buf.toString().indexOf(selection.toString()), selection.toString().length());
		List proposals= collectAssists(context, false);
		
		assertNumberOfProposals(proposals, 9);
		assertCorrectLabels(proposals);
		StringBuffer expected1= new StringBuffer();
		expected1.append("package test1;\n");
		expected1.append("public class E {\n");
		expected1.append("    public void foo(final int i, final String s) {\n");
		expected1.append("        i = 10;\n");
		expected1.append("        Runnable runnable = new Runnable() {\n");
		expected1.append("            public void run() {\n");
		expected1.append("                System.out.println(i);\n");
		expected1.append("                System.out.println(s);\n");
		expected1.append("            }\n");
		expected1.append("        };\n");
		expected1.append("        s = \"\";\n");
		expected1.append("    }\n");
		expected1.append("}\n");
		assertExpectedExistInProposals(proposals, new String[] {expected1.toString()});	
	}
	
	public void testSurroundWithRunnable14() throws Exception {