} else {  rewrite= new ASTRewrite(fRoot); SimpleName[] references= LinkedNodeFinder.perform(fRoot, fBinding);
} else {  CompilationUnit completeRoot= AST.parseCompilationUnit(getCompilationUnit(), true); SimpleName nameNode= (SimpleName) NodeFinder.perform(completeRoot, fName.getStartPosition(), fName.getLength());  rewrite= new ASTRewrite(completeRoot); SimpleName[] references= LinkedNodeFinder.perform(completeRoot, nameNode.resolveBinding());
	protected ASTRewrite getRewrite() throws CoreException {		ASTNode declaration= fRoot.findDeclaringNode(fBinding);		ASTRewrite rewrite;		if (fBinding.getKind() != IBinding.VARIABLE) {			rewrite= new ASTRewrite(declaration.getParent());			rewrite.markAsRemoved(declaration);		} else {			// variable			rewrite= new ASTRewrite(fRoot); 			SimpleName[] references= LinkedNodeFinder.perform(fRoot, fBinding);			for (int i= 0; i < references.length; i++) {				removeVariableReferences(rewrite, references[i]);			}		}		return rewrite;	}