if (getCompilationUnit() == null) return false;
	protected boolean canOperateOnCurrentSelection(ISelection selection) {		if (!(selection instanceof ITextSelection))			return false;				//must check it here - see bug 12590		//if it's not a local variable - we will try to resolve the symbol as a IJavaElement in rename action		Refactoring renameTempRefactoring= createRefactoring(getCompilationUnit(), (ITextSelection)selection);		try {			return (renameTempRefactoring.checkActivation(new NullProgressMonitor()).isOK());		} catch(JavaModelException e) {			//ignore the exception			return false;		}	}