IJavaElement element= (IJavaElement)elem; IJavaElement wcElement= JavaModelUtil.findInCompilationUnit(wc, element);
IJavaElement wcElement= JavaModelUtil.findInCompilationUnit(wc, elem);
	public static boolean isDeletedFromEditor(IJavaElement elem) throws JavaModelException{		if (! isInsideCompilationUnit(elem))			return false;		if (elem instanceof IMember && ((IMember)elem).isBinary())			return false;		ICompilationUnit cu= ReorgUtils.getCompilationUnit(elem);		if (cu == null)			return false;		ICompilationUnit wc= WorkingCopyUtil.getWorkingCopyIfExists(cu);		if (cu.equals(wc))			return false;		IJavaElement element= (IJavaElement)elem;		IJavaElement wcElement= JavaModelUtil.findInCompilationUnit(wc, element);		return wcElement == null || ! wcElement.exists();	}