if (fText == null) { fText= retrieveText(element); } else { fText= ""; }
	public JavadocHelpContext(IContext context, Object[] elements) throws CoreException {		Assert.isNotNull(elements);		List helpResources= new ArrayList();		if (context != null) {			IHelpResource[] resources= context.getRelatedTopics();			if (resources != null) {				for (int j= 0; j < resources.length; j++) {					helpResources.add(resources[j]);				}			}		}		for (int i= 0; i < elements.length; i++) {			if (elements[i] instanceof IJavaElement) {				IJavaElement element= (IJavaElement) elements[i];				if (fText == null) {					fText= retrieveText(element);				} else {					fText= ""; // no doc on multiple selection //$NON-NLS-1$				}													URL url= JavaUI.getJavadocLocation(element, true);				if (url == null || doesNotExist(url)) {					IPackageFragmentRoot root= JavaModelUtil.getPackageFragmentRoot(element);					if (root != null) {						url= JavaUI.getJavadocBaseLocation(element);						if (root.getKind() == IPackageFragmentRoot.K_SOURCE) {							element= element.getJavaProject();						} else {							element= root;						}						url= JavaUI.getJavadocLocation(element, false);					}				}				if (url != null) {					IHelpResource javaResource= new JavaUIHelpResource(element, url.toExternalForm() + "?noframes=true" ); //$NON-NLS-1$					helpResources.add(javaResource);				}			}		}		fHelpResources= (IHelpResource[]) helpResources.toArray(new IHelpResource[helpResources.size()]);		if (fText == null || fText.length() == 0) {			if (context != null) {				fText= context.getText();			}		}		if (fText != null && fText.length() == 0) {			fText= null; // see 14207 		}			}