Bug 5099 TypeCache duplicated
TypeCache exists in two packages. Both used!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog.java
/**
	 * @see SelectionStatusDialog#computeResult()
	 */
	protected void computeResult() {
		TypeInfo ref= (TypeInfo) getLowerSelectedElement();
		if (ref == null)
			return;
		try {
			IType type= ref.resolveType(fScope);			
			if (type == null) {
				
				String title= JavaUIMessages.getString("TypeSelectionDialog.errorTitle"); 
				String message= JavaUIMessages.getString("TypeSelectionDialog.errorMessage"); 
				MessageDialog.openError(getShell(), title, message);
				setResult(null);
			} else {
				List result= new ArrayList(1);
				result.add(type);
				setResult(result);
			}
		} catch (JavaModelException e) {
			String title= JavaUIMessages.getString("TypeSelectionDialog.errorTitle"); 
			String message= JavaUIMessages.getString("TypeSelectionDialog.errorMessage"); 
			MessageDialog.openError(getShell(), title, message);
			setResult(null);
		}
	}
	
}