Bug 66092 The old search API should be deprecated
We should deprecate the old search API. In package org.eclipse.search.ui. I support this request - CCin Jeem for final blessing IActionGroupFactory IContextMenuContributor IGroupByKeyComputer ISearchResultView ISearchResultViewEntry In class SearchUI: public static boolean activateSearchResultView() public static Image getSearchMarkerImage() public static ISearchResultView getSearchResultView() public static final String SEARCH_RESULT_VIEW_ID public static final String POTENTIAL_MATCH public static final String LINE
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java
public static final String IS_EXCEPTION= "isException"; 
	
	private AST fAST;
	private Name fSelectedName;
	
	private ITypeBinding fException;
	private ASTNode fStart;
	private List fResult;
	
	public ExceptionOccurrencesFinder() {
		fResult= new ArrayList();
	}
	
	public String initialize(CompilationUnit root, int offset, int length) {
		fAST= root.getAST();
		ASTNode node= NodeFinder.perform(root, offset, length);
		if (!(node instanceof Name)) {
			return SearchMessages.getString("ExceptionOccurrencesFinder.no_exception");  
		}
		fSelectedName= ASTNodes.getTopMostName((Name)node);
		ASTNode parent= fSelectedName.getParent();
		MethodDeclaration decl= resolveMethodDeclaration(parent);
		if (decl != null && methodThrowsException(decl, fSelectedName)) {
			fException= fSelectedName.resolveTypeBinding();