Bug 99812 [navigation] Outliner doesn't highlight the name of the package declaration for package-info
RC2. 1) Create a project P with src/bin as source/output folders 2) Create a package 'p' 3) Create a file in this package that contains: @java.lang.Deprecated package p; Click on the package declaration in the outliner and you get the position of the 'p' in Deprecated. It looks like the first 'p' is highlighted. This looks awkwards.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
IRegion hoverRegion= textHover.getHoverRegion(sourceViewer, offset);
				if (hoverRegion == null)
					return;
				String hoverInfo= textHover.getHoverInfo(sourceViewer, hoverRegion);
				IInformationControlCreator controlCreator= null;
				if (textHover instanceof IInformationProviderExtension2)
					controlCreator= ((IInformationProviderExtension2)textHover).getInformationPresenterControlCreator();
				IInformationProvider informationProvider= new InformationProvider(hoverRegion, hoverInfo, controlCreator);
				fInformationPresenter.setOffset(offset);
				fInformationPresenter.setDocumentPartitioning(IJavaPartitions.JAVA_PARTITIONING);
				fInformationPresenter.setInformationProvider(informationProvider, contentType);
				fInformationPresenter.showInformation();
			} catch (BadLocationException e) {
			}
		}
		
		private int computeOffsetAtLocation(ITextViewer textViewer, int x, int y) {
			StyledText styledText= textViewer.getTextWidget();
			IDocument document= textViewer.getDocument();
			if (document == null)
				return -1;
			try {
				int widgetLocation= styledText.getOffsetAtLocation(new Point(x, y));
				if (textViewer instanceof ITextViewerExtension5) {
					ITextViewerExtension5 extension= (ITextViewerExtension5) textViewer;
					return extension.widgetOffset2ModelOffset(widgetLocation);
				} else {
					IRegion visibleRegion= textViewer.getVisibleRegion();
					return widgetLocation + visibleRegion.getOffset();
				}