if (adornmentFlags != 0) { ImageDescriptor baseImage= new ImageImageDescriptor(image); Rectangle bounds= image.getBounds(); return fRegistry.get(new JavaElementImageDescriptor(baseImage, adornmentFlags, new Point(bounds.width, bounds.height))); } return image;
return adornImage(image, adornmentFlags);
	private Image decorateBasedOnHierarchy(IResource resource, Image image) {				if(resource==null)			return image;				int adornmentFlags= computeAdornmentFlags(resource);		if (adornmentFlags != 0) {			ImageDescriptor baseImage= new ImageImageDescriptor(image);			Rectangle bounds= image.getBounds();			return fRegistry.get(new JavaElementImageDescriptor(baseImage, adornmentFlags, new Point(bounds.width, bounds.height)));		}		return image;	}