String infoText= renderer.getText(curr);
String infoText= getInfoText((IMember)curr);
	public String getHoverInfo(ITextViewer textViewer, IRegion hoverRegion) {		ICodeAssist resolve= getCodeAssist();		if (resolve != null) {			String lineDelim= System.getProperty("line.separator", "\n");			try {				IJavaElement[] result= resolve.codeSelect(hoverRegion.getOffset(), hoverRegion.getLength());				int nResults= result.length;				if (result != null && nResults > 0) {					int hoverWidth= getMaxUsableWidth(textViewer, hoverRegion) - 40;					if (hoverWidth < 200) {						hoverWidth= 200;					}					GC gc= new GC(textViewer.getTextWidget().getDisplay());										int flags= JavaElementLabelProvider.SHOW_CONTAINER | JavaElementLabelProvider.SHOW_CONTAINER_QUALIFICATION;					JavaElementLabelProvider renderer= new JavaElementLabelProvider(flags);					StringBuffer buffer= new StringBuffer();					if (nResults > 1) {						for (int i= 0; i < result.length; i++) {							IJavaElement curr= result[i];							if (curr instanceof IMember) {								String infoText= renderer.getText(curr);								if (buffer.length() > 0) {									buffer.append(lineDelim);								}																buffer.append(infoText);							}						}					} else {						IJavaElement curr= result[0];						if (curr instanceof IMember) {							Reader rd= JavaDocAccess.getJavaDoc((IMember)curr);							if (rd != null) {								String jdocText= getFormattedText(rd, gc, hoverWidth, 10);								buffer.append(jdocText);								buffer.append(lineDelim);							}							String infoText= renderer.getText(curr);							buffer.append(infoText);						}					}					renderer.dispose();					return buffer.toString();				}			} catch (JavaModelException x) {				JavaPlugin.log(x.getStatus());			}		}				return null;	}