Bug 76167 Quick FIx: create local variable deletes comment above it
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
rewrite.replace(assignment, expression, null);
			
			addLinkedPosition(rewrite.track(expression.getType()), false, KEY_TYPE); 
			addLinkedPosition(rewrite.track(frag.getName()), true, KEY_NAME); 
			
			setEndPosition(rewrite.track(expression));
			
			return rewrite;
		}
		
		
		VariableDeclarationFragment newDeclFrag= ast.newVariableDeclarationFragment();
		VariableDeclarationStatement newDecl= ast.newVariableDeclarationStatement(newDeclFrag);
		newDeclFrag.setName(ast.newSimpleName(node.getIdentifier()));
		newDecl.setType(evaluateVariableType(ast));
		addLinkedPosition(rewrite.track(newDecl.getType()), false, KEY_TYPE);
		addLinkedPosition(rewrite.track(node), true, KEY_NAME); 
		addLinkedPosition(rewrite.track(newDeclFrag.getName()), false, KEY_NAME);
		
		Statement statement= dominantStatement;
		List list= ASTNodes.getContainingList(statement);
		while (list == null && statement.getParent() instanceof Statement) { 
			statement= (Statement) statement.getParent();
			list= ASTNodes.getContainingList(statement);
		}
		if (list != null) {
			ASTNode parent= statement.getParent();
			StructuralPropertyDescriptor childProperty= statement.getLocationInParent();
			if (childProperty.isChildListProperty()) {