HTMLPrinter.insertPageProlog(buffer, 0, getStyleSheetURL());
HTMLPrinter.insertPageProlog(buffer, 0, getStyleSheet());
	protected String getHoverInfo(IJavaElement[] result) {		StringBuffer buffer= new StringBuffer();		int nResults= result.length;		if (nResults == 0)			return null;		boolean hasContents= false;		if (nResults > 1) {			for (int i= 0; i < result.length; i++) {				HTMLPrinter.startBulletList(buffer);				IJavaElement curr= result[i];				if (curr instanceof IMember || curr.getElementType() == IJavaElement.LOCAL_VARIABLE) {					HTMLPrinter.addBullet(buffer, getInfoText(curr));					hasContents= true;				}				HTMLPrinter.endBulletList(buffer);			}		} else {			IJavaElement curr= result[0];			if (curr instanceof IMember) {				IMember member= (IMember) curr;				HTMLPrinter.addSmallHeader(buffer, getInfoText(member));				Reader reader;				try {					reader= JavadocContentAccess.getHTMLContentReader(member, true, true);										// Provide hint why there's no Javadoc					if (reader == null && member.isBinary()) {						IPackageFragmentRoot root= (IPackageFragmentRoot)member.getAncestor(IJavaElement.PACKAGE_FRAGMENT_ROOT);						if (root != null && root.getSourceAttachmentPath() == null && root.getAttachedJavadoc(null) == null)							reader= new StringReader(JavaHoverMessages.JavadocHover_noAttachedInformation);					}									} catch (JavaModelException ex) {					return null;				}								if (reader != null) {					HTMLPrinter.addParagraph(buffer, reader);				}				hasContents= true;			} else if (curr.getElementType() == IJavaElement.LOCAL_VARIABLE || curr.getElementType() == IJavaElement.TYPE_PARAMETER) {				HTMLPrinter.addSmallHeader(buffer, getInfoText(curr));				hasContents= true;			}		}				if (!hasContents)			return null;		if (buffer.length() > 0) {			HTMLPrinter.insertPageProlog(buffer, 0, getStyleSheetURL());			HTMLPrinter.addPageEpilog(buffer);			return buffer.toString();		}		return null;	}