Bug 6299 JavaWorkbenchAdapter does not provide images
org.eclipse.jdt.internal.ui.JavaWorkbenchAdapter#getImageDescriptor returns null; not very nice when presenting in a viewer. Solution (just suggestion;): org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider#getImageDescriptor ... org.eclipse.jdt.internal.ui.viewsupport.JavaElementImageProvider imageProvider; ... return imageProvider.getImageDescriptor((IJavaElement)element, JavaElementImageProvider.SMALL_ICONS);
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
completion= typeName;
			}
		}
		StringBuffer buf= new StringBuffer(typeName);
		if (containerName != null) {
			buf.append(" - "); 
			buf.append(containerName);
		}
		String name= buf.toString();
		
		JavaCompletionProposal proposal= createCompletion(start, end, completion, descriptor, name);
		proposal.setImportDeclaration(importDeclaration);
		proposal.setProposalInfo(proposalInfo);
		proposal.setTriggerCharacters(TYPE_TRIGGERS);
		return proposal;
	}
	protected ImageDescriptor getMemberDescriptor(int modifiers) {
		if (Flags.isPublic(modifiers)) {
			return JavaPluginImages.DESC_MISC_PUBLIC;
		} else if (Flags.isProtected(modifiers)) {
			return JavaPluginImages.DESC_MISC_PROTECTED;
		} else if (Flags.isPrivate(modifiers)) {
			return JavaPluginImages.DESC_MISC_PRIVATE;
		} else {
			return JavaPluginImages.DESC_MISC_DEFAULT;
		}
	}
	
	protected ImageDescriptor getDeprecatedDescriptor(ImageDescriptor descriptor) {
		Point size= new Point(16, 16);