Bug 44285 Search does not like anonymous types [search]
20031007 smoke 1. Open AboutDialog.java 2. In the editor select the method 'actionPerformed' from the anonymous ActionListener. 3. Press CTRL + H 4. The search dialog shows: junit.awtui.AboutDialog.1..actionPerformed(ActionEvent) Looks weird.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaSearchPage.java
if (handleId != null && handleId.length() > 0) {
				IJavaElement restored= JavaCore.create(handleId); 
				if (restored != null && isSearchableType(restored) && restored.exists()) {
					elem= restored;
				}
			}
			String[] wsIds= settings.getArray("workingSets"); 
			IWorkingSet[] workingSets= null;
			if (wsIds != null && wsIds.length > 0) {
				IWorkingSetManager workingSetManager= PlatformUI.getWorkbench().getWorkingSetManager();
				workingSets= new IWorkingSet[wsIds.length];
				for (int i= 0; workingSets != null && i < wsIds.length; i++) {
					workingSets[i]= workingSetManager.getWorkingSet(wsIds[i]);
					if (workingSets[i] == null) {
						workingSets= null;
					}
				}
			}
			try {
				int searchFor= settings.getInt("searchFor"); 
				int scope= settings.getInt("scope"); 
				int limitTo= settings.getInt("limitTo"); 
				boolean isCaseSensitive= settings.getBoolean("isCaseSensitive"); 
				return 	new SearchPatternData(searchFor, limitTo, pattern, isCaseSensitive, elem, scope, workingSets);
			} catch (NumberFormatException e) {
				return null;
			}
		}
		
	}