SearchEngine engine= new SearchEngine(allWorkingCopies);
	private List doSearchForReferences(String ref, IWorkingCopy[] workingCopies) throws JavaModelException {		SearchEngine engine= new SearchEngine(workingCopies);		if (BUG_43300 && workingCopies.length == 0) {			engine= new SearchEngine();		}				IJavaSearchScope scope= SearchEngine.createWorkspaceScope();		SearchResultCollector collector= new SearchResultCollector(null);		engine.search(ResourcesPlugin.getWorkspace(), ref, IJavaSearchConstants.TYPE, IJavaSearchConstants.REFERENCES, scope, collector);		return collector.getResults();	}