Bug 5099 TypeCache duplicated
TypeCache exists in two packages. Both used!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeCache.java
if (style != fgLastStyle)
			flushCache();
		
		if (! (scope instanceof JavaWorkspaceScope))
			flushCache();
			
		fgLastStyle= style;	
	}
	
	private static void flushCache(){
		fgTypeList= null;
	}
	private static class DeltaListener implements IElementChangedListener {
		public void elementChanged(ElementChangedEvent event) {
			if (fgTypeList == null)
				return;
	
			IJavaElementDelta delta= event.getDelta();
			IJavaElement element= delta.getElement();
			int type= element.getElementType();
	
			if (type == IJavaElement.CLASS_FILE)
				return;
	
			processDelta(delta);
		}
	
		private boolean mustFlush(IJavaElementDelta delta) {
			if (delta.getKind() != IJavaElementDelta.CHANGED)
				return true;