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/viewsupport/OverrideImageProvider.java
int flags= method.getFlags();
				IType type= method.getDeclaringType();
				if (type.isClass() && !method.isConstructor() && !Flags.isPrivate(flags) && !Flags.isStatic(flags)) {
					ITypeHierarchy hierarchy= getTypeHierarchy(type);
					IMethod overridden= JavaModelUtil.findMethodDeclarationInHierarchy(hierarchy, type, method.getElementName(), method.getParameterTypes(), false);
					if (overridden != null) {
						adornmentFlags |= JavaElementImageDescriptor.OVERRIDDEN;
					}
				}
			} catch (JavaModelException e) {
				JavaPlugin.log(e);
			}
		}
		return adornmentFlags;
	}
	
	private ITypeHierarchy getTypeHierarchy(IType type) throws JavaModelException {
		fTypeHierarchy.ensureRefreshedTypeHierarchy(type);
		return fTypeHierarchy.getHierarchy();
	}
		
	/*
	 * @see JavaElementImageProvider#dispose()
	 */
	public void dispose() {
		fTypeHierarchy.freeHierarchy();
		super.dispose();
	}
}