Bug 38237 [api] Code Assist images
Code Assist proposals are reflected as an Image and Text. The images that are used in the JDT proposals are generated by org.eclipse.jdt.internal.ui.text.java.ResultCollector. Though it makes use of the JavaElementImageProvider.getFieldImageDescriptor() to get the proper image for a particular IJavaElement, it does perform additional consideration for elements like static, deprecated, Local variable etc. We are interested to contribute to code assist by way of reusing the images (and semantics) that are in use by the (internal) ResultCollector.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/ISharedImages.java
/** 
	 * Key to access the shared image or image descriptor for external archives
	 * with source.
	 * @since 2.1
	 */
	public static final String IMG_OBJS_EXTERNAL_ARCHIVE_WITH_SOURCE= JavaPluginImages.IMG_OBJS_EXTJAR_WSRC;
	
	/**
	 * Returns the shared image managed under the given key.
	 * <p>
	 * Note that clients <b>must not</b> dispose the image returned by this method.
	 * </p>
	 *
	 * @param key the image key; one of the <code>IMG_OBJS_* </code> constants
	 * @return the shared image managed under the given key, or <code>null</code>
	 *   if none
	 */
	public Image getImage(String key);
	
	/**
	 * Returns the image descriptor managed under the given key.
	 *
	 * @param key the image key; one of the <code>IMG_OBJS_* </code> constants
	 * @return the image descriptor managed under the given key, or <code>null</code>
	 *  if none
	 */
	public ImageDescriptor getImageDescriptor(String key);
}