if (element.getElementType() == IJavaElement.COMPILATION_UNIT) return (ICompilationUnit)element;  if (element instanceof IMember) return ((IMember)element).getCompilationUnit();  return findCompilationUnit(element.getParent());
return (ICompilationUnit) element.getAncestor(IJavaElement.COMPILATION_UNIT);
	static ICompilationUnit findCompilationUnit(IJavaElement element) {		if (element == null)			return null;		if (element.getElementType() == IJavaElement.COMPILATION_UNIT)			return (ICompilationUnit)element;					if (element instanceof IMember)			return ((IMember)element).getCompilationUnit();		return findCompilationUnit(element.getParent());	}