Bug 86842 [quick assist] Intention "Split variable declaration" loses "final"
Example: final FcFile file = lockNextFile(); Invoke the intention on variable 'file' and you get: FcFile file; file = lockNextFile(); instead of the expected: final FcFile file; file = lockNextFile();
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
rewrite.set(statement, childProperty, replacingBody, null);
			String label;
			if (childProperty == IfStatement.THEN_STATEMENT_PROPERTY) {
				label = CorrectionMessages.QuickAssistProcessor_replacethenwithblock_description;
			} else if (childProperty == IfStatement.ELSE_STATEMENT_PROPERTY) {
				label = CorrectionMessages.QuickAssistProcessor_replaceelsewithblock_description;
			} else {
				label = CorrectionMessages.QuickAssistProcessor_replacebodywithblock_description;
			}
			Image image= JavaPluginImages.get(JavaPluginImages.IMG_CORRECTION_CHANGE);
			LinkedCorrectionProposal proposal= new LinkedCorrectionProposal(label, context.getCompilationUnit(), rewrite, 10, image);
			proposal.setCommandId(ADD_BLOCK_ID);
			proposal.setEndPosition(rewrite.track(child));
			resultingCollections.add(proposal);
		}
		if (statement.getNodeType() == ASTNode.IF_STATEMENT) {
			IfStatement ifStatement= (IfStatement) statement;
			Statement thenStatment= ifStatement.getThenStatement();
			Statement elseStatment= ifStatement.getElseStatement();
			
			if ((childProperty == IfStatement.THEN_STATEMENT_PROPERTY && elseStatment != null && !(elseStatment instanceof Block))
				|| (childProperty == IfStatement.ELSE_STATEMENT_PROPERTY && !(thenStatment instanceof Block))) {
				ASTRewrite rewrite= ASTRewrite.create(ast);
				ASTNode childPlaceholder1= rewrite.createMoveTarget(thenStatment);
				Block replacingBody1= ast.newBlock();
				replacingBody1.statements().add(childPlaceholder1);
				rewrite.set(statement, IfStatement.THEN_STATEMENT_PROPERTY, replacingBody1, null);
				ASTNode childPlaceholder2= rewrite.createMoveTarget(elseStatment);
				Block replacingBody2= ast.newBlock();
				replacingBody2.statements().add(childPlaceholder2);