if (fReset)
if (fRestart)
		private Collection doSearchTypes() {						if (ResourcesPlugin.getWorkspace() == null)				return null;						final ArrayList typesFound= new ArrayList(fSizeHint);			final TypeInfoFactory factory= new TypeInfoFactory();			class RequestorAbort extends Error { }					ITypeNameRequestor requestor= new ITypeNameRequestor() {				public void acceptInterface(char[] packageName, char[] typeName, char[][] enclosingTypeNames, String path) {					if (fReset)						throw new RequestorAbort();					typesFound.add(factory.create(packageName, typeName, enclosingTypeNames, true, path));				}				public void acceptClass(char[] packageName, char[] typeName, char[][] enclosingTypeNames, String path) {					if (fReset)						throw new RequestorAbort();					typesFound.add(factory.create(packageName, typeName, enclosingTypeNames, false, path));				}			};			try {				if (! search(requestor, IJavaSearchConstants.WAIT_UNTIL_READY_TO_SEARCH, fMonitor))					return null;			} catch (RequestorAbort e) {				// query cancelled				return null;			}			return typesFound;		}