rewrite.markAsTracked(newDecl, fSelectionDescription);
markAsLinked(rewrite, newDeclFrag.getName(), true, "name"); markAsLinked(rewrite, newDecl.getType(), false, "type"); markAsSelection(rewrite, newDecl);
	private ASTRewrite doAddLocal() throws CoreException {		Expression expression= fExpressionStatement.getExpression();		ASTRewrite rewrite= new ASTRewrite(fExpressionStatement.getParent());		AST ast= fExpressionStatement.getAST();		String varName= suggestLocalVariableNames(fTypeBinding);		GroupDescription link1= new GroupDescription("link1"); //$NON-NLS-1$		fSelectionDescription= new GroupDescription("sel"); //$NON-NLS-1$				SimpleName name= ast.newSimpleName(varName);		rewrite.markAsTracked(name, link1); //$NON-NLS-1$				VariableDeclarationFragment newDeclFrag= ast.newVariableDeclarationFragment();		newDeclFrag.setName(name);		newDeclFrag.setInitializer((Expression) rewrite.createCopy(expression));				VariableDeclarationStatement newDecl= ast.newVariableDeclarationStatement(newDeclFrag);		String typeName= addImport(fTypeBinding);		newDecl.setType(ASTNodeFactory.newType(ast, typeName));				rewrite.markAsReplaced(fExpressionStatement, newDecl); 		rewrite.markAsTracked(newDecl, fSelectionDescription);		fLinkedPositions.add(link1);		return rewrite;	}