if (javaDest instanceof ICompilationUnit) return (IPackageFragment)javaDest.getParent(); return null;
return (IPackageFragment) javaDest.getAncestor(IJavaElement.PACKAGE_FRAGMENT);
		private static IPackageFragment getJavaDestinationAsPackageFragment(IJavaElement javaDest){			if( javaDest == null || ! javaDest.exists())				return null;								if (javaDest instanceof IPackageFragment)				return (IPackageFragment) javaDest;			if (javaDest instanceof IPackageFragmentRoot)				return ((IPackageFragmentRoot) javaDest).getPackageFragment(""); //$NON-NLS-1$			if (javaDest instanceof ICompilationUnit)				return (IPackageFragment)javaDest.getParent();							return null;		}