Bug 62062 Mark Occurrences annotation text is not interesting as Tooltip Description
I20040512-0800 Mark Occurrences annotation is not interesting as Tooltip Description. Steps: - enable Mark Occurrences - set caret to a variable and wait until occurrences marked - hover over variable or press F2 -> expected: type, name and javadoc -> was: only name (I guess this is the Annotation's text)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationHover.java
*/
	public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) {
		
		if (getEditor() == null)
			return null;
		
		IDocumentProvider provider= JavaPlugin.getDefault().getCompilationUnitDocumentProvider();
		IAnnotationModel model= provider.getAnnotationModel(getEditor().getEditorInput());
		
		if (model != null) {
			Iterator e= new JavaAnnotationIterator(model, true, true);
			int layer= -1;
			String message= null;
			while (e.hasNext()) {
				Annotation a= (Annotation) e.next();
				AnnotationPreference preference= getAnnotationPreference(a);
				if (preference == null || !(fStore.getBoolean(preference.getTextPreferenceKey()) || (preference.getHighlightPreferenceKey() != null && fStore.getBoolean(preference.getHighlightPreferenceKey()))))
					continue;
				Position p= model.getPosition(a);
				
				int l= fAnnotationAccess.getLayer(a);
				
				if (l > layer && p != null && p.overlapsWith(hoverRegion.getOffset(), hoverRegion.getLength())) {
					String msg= a.getText();
					if (msg != null && msg.trim().length() > 0) {
						message= msg;
						layer= l;
					}
				}
			}