IJavaSearchConstants.EXACT_MATCH, IJavaSearchConstants.CASE_SENSITIVE,
SearchPattern.R_EXACT_MATCH, true,
	public void test_bug44772() throws Exception {		File lib= JavaTestPlugin.getDefault().getFileInPlugin(JavaProjectHelper.MYLIB);		JavaProjectHelper.addLibraryWithImport(fJProject1, new Path(lib.getPath()), null, null); // as internal 		JavaProjectHelper.addLibrary(fJProject1, new Path(lib.getPath())); // and as external				ArrayList result= new ArrayList();		IJavaElement[] elements= new IJavaElement[] { fJProject1 };		IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements);		ITypeNameRequestor requestor= new TypeInfoRequestor(result);		SearchEngine engine= new SearchEngine();		engine.searchAllTypeNames(			fJProject1.getJavaModel().getWorkspace(),			null, 			"Foo".toCharArray(),			IJavaSearchConstants.EXACT_MATCH, 			IJavaSearchConstants.CASE_SENSITIVE, 			IJavaSearchConstants.TYPE, 			scope, 			requestor, 			IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, 			null); 		assertEquals("result size", result.size(), 2);		IType type1= ((TypeInfo) result.get(0)).resolveType(scope);		IType type2= ((TypeInfo) result.get(1)).resolveType(scope);				assertNotNull(type1);		assertNotNull(type2);		assertFalse(type1.equals(type2));	}