Bug 123424 browsing perspective does not show some packages in hierarchical mode
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesViewHierarchicalContentProvider.java
if(lp == null)
							return pkgFragment;
						else return lp;
					}
				}
				return parent;
			} else if(element instanceof LogicalPackage){
				LogicalPackage el= (LogicalPackage) element;
				IPackageFragment fragment= el.getFragments()[0];
				Object parent= getHierarchicalParent(fragment);
				if(parent instanceof IPackageFragment){
					IPackageFragment pkgFragment= (IPackageFragment) parent;
					LogicalPackage logicalPkg= findLogicalPackage(pkgFragment);
					if (logicalPkg != null)
						return logicalPkg;
					else {
						LogicalPackage lp= createLogicalPackage(pkgFragment);
						if(lp == null)
							return pkgFragment;
						else return lp;
					}
				} else
					return fragment.getJavaProject();
			}
		} catch (JavaModelException e) {
			JavaPlugin.log(e);
		}
		return null;
	}
	/*