if (pack.getParent().equals(dest))
if (ReorgUtils.isParent(pack, (IPackageFragmentRoot)dest))
	static boolean destinationIsParent(List elements, IJavaElement dest) throws JavaModelException{		if (dest.getElementType() == IJavaElement.PACKAGE_FRAGMENT_ROOT){			for (Iterator iter= elements.iterator(); iter.hasNext();) {				Object element= (Object) iter.next();				if (!(element instanceof IPackageFragment))					return destinationIsParent(elements, dest.getResource());				IPackageFragment pack= (IPackageFragment) element;					if (pack.getParent().equals(dest))					return true;			}			return false;		} else if (dest.getElementType() == IJavaElement.JAVA_PROJECT) {				IPackageFragmentRoot root= getPackageFragmentRoot((IJavaProject)dest);				if (root == null)					return destinationIsParent(elements, dest.getResource());				else					return destinationIsParent(elements, root);			} else 			return destinationIsParent(elements, dest.getResource());	}