Bug 65378 FindOccurencesCUEngine should use ASTProvider
RC1 FindOccurrencesEngine should get the AST from the ASTProvider so it can profit if the AST is already cached (2 occurences) e.g. JaavPlugin.getDefault().getASTProvider().getAST(cu)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/FindOccurrencesEngine.java
view.searchFinished();
	}
	private Object getGroupByKey(IMarker marker) {
		try {
			return marker.getAttribute(IMarker.LINE_NUMBER);
		} catch (CoreException e) {
		}
		return marker;
	}
	
	private void run(final IWorkspaceRunnable runnable) {
		BusyIndicator.showWhile(null,
			new Runnable() {
				public void run() {
					try {
						JavaCore.run(runnable, null);
					} catch (CoreException e) {
						JavaPlugin.log(e);
					}
				}
			}
		);
	}
	
	private void performNewSearch(IOccurrencesFinder finder, IDocument document, IJavaElement element) {
		NewSearchUI.activateSearchResultView();
		NewSearchUI.runQuery(new OccurrencesSearchQuery(finder, document, element));
	}
}