Bug 65240 Hierarchical layout: Problems with inclusion filters [package explorer]
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageFragmentProvider.java
IJavaElement iJavaElement= (IJavaElement) parentElement;
				int type= iJavaElement.getElementType();
				switch (type) {
					case IJavaElement.JAVA_PROJECT: {
						IJavaProject project= (IJavaProject)iJavaElement;
						IProject proj= project.getProject();					
												
						List children= new ArrayList();
						
						IPackageFragmentRoot defaultroot= project.getPackageFragmentRoot(proj);
						if(defaultroot.exists()) {
							IJavaElement[] els= defaultroot.getChildren();
							children= getTopLevelChildrenByElementName(els);
						}
						return filter(children.toArray());
					}
				
					case IJavaElement.PACKAGE_FRAGMENT_ROOT: {
							IPackageFragmentRoot root= (IPackageFragmentRoot) parentElement;
							if (root.exists()) {
								IResource resource= root.getUnderlyingResource();
								if (root.isArchive()) {
									IJavaElement[] els= root.getChildren();
									return filter(getTopLevelChildrenByElementName(els).toArray());
								} else if (resource instanceof IFolder) {
									IFolder folder= (IFolder) resource;
									IResource[] reses= folder.members();
									List children= getFolders(reses);
									IPackageFragment defaultPackage= root.getPackageFragment(""); 
									if(defaultPackage.exists())