if (!IPackageFragment.DEFAULT_PACKAGE_NAME.equals(tail) && (tail.indexOf(".") == -1)) {
if (!IPackageFragment.DEFAULT_PACKAGE_NAME.equals(tail) && tail.indexOf(".") == -1) {
		private IPackageFragment[] findNextLevelChildrenByElementName(IPackageFragmentRoot parent, IPackageFragment fragment) {		List list= new ArrayList();		try {			IJavaElement[] children= parent.getChildren();			String fragmentname= fragment.getElementName();			for (int i= 0; i < children.length; i++) {				IJavaElement element= children[i];				if (element instanceof IPackageFragment) {					IPackageFragment frag= (IPackageFragment) element;					String name= element.getElementName();					if (frag.exists() && !IPackageFragment.DEFAULT_PACKAGE_NAME.equals(fragmentname) && name.startsWith(fragmentname) && !name.equals(fragmentname)) {						String tail= name.substring(fragmentname.length() + 1); 						if (!IPackageFragment.DEFAULT_PACKAGE_NAME.equals(tail) && (tail.indexOf(".") == -1)) { //$NON-NLS-1$							list.add(frag);						}					}				}			}		} catch (JavaModelException e) {			JavaPlugin.log(e);		}		return (IPackageFragment[]) list.toArray(new IPackageFragment[list.size()]);	}