TypeInfo[] typeRefs= (TypeInfo[])typeList.toArray(new TypeInfo[typeList.size()]);
TypeInfo[] typeRefs= (TypeInfo[])filteredList.toArray(new TypeInfo[filteredList.size()]);
	public int open() {		AllTypesSearchEngine engine= new AllTypesSearchEngine(JavaPlugin.getWorkspace());				List typeList= engine.searchTypes(fRunnableContext, fScope, fStyle);				if (typeList.isEmpty()) {			String title= JavaUIMessages.getString("TypeSelectionDialog.notypes.title"); //$NON-NLS-1$			String message= JavaUIMessages.getString("TypeSelectionDialog.notypes.message"); //$NON-NLS-1$			MessageDialog.openInformation(getShell(), title, message);			return CANCEL;		}					TypeInfo[] typeRefs= (TypeInfo[])typeList.toArray(new TypeInfo[typeList.size()]);		setElements(typeRefs);		return super.open();	}