Bug 9103 Search reports no references to SWT.Help
1) Open class SWT 2) Select field Help 3) References>Workspace Nothing found
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/JavaElementAction.java
return getJavaElement(entry.getSelectedMarker(), silent);
		return null;
	}
	protected IJavaElement getJavaElement(IStructuredSelection selection, boolean silent) {
		if (selection.size() == 1)
			
			return getJavaElement(selection.getFirstElement(), silent);
		return null;
	}
	public IStructuredSelection getSelection() {
		IWorkbenchPage page= JavaPlugin.getActivePage();
		if (page != null) {
			IWorkbenchPart part= JavaPlugin.getActivePage().getActivePart();
			if (part != null) {
				try {
					return SelectionConverter.getStructuredSelection(part);
				} catch (JavaModelException ex) {
					return StructuredSelection.EMPTY;
				}
			}
		}
		return StructuredSelection.EMPTY;
	}
	private IJavaElement chooseFromList(IJavaElement[] openChoices) {
		int flags= JavaElementLabelProvider.SHOW_DEFAULT | JavaElementLabelProvider.SHOW_QUALIFIED;
		ILabelProvider labelProvider= new JavaElementLabelProvider(flags);
		ElementListSelectionDialog dialog= new ElementListSelectionDialog(JavaPlugin.getActiveWorkbenchShell(), labelProvider);
		dialog.setTitle(SearchMessages.getString("SearchElementSelectionDialog.title")); 
		dialog.setMessage(SearchMessages.getString("SearchElementSelectionDialog.message")); 
		dialog.setElements(openChoices);