public static URL getJavadocBaseLocation(IJavaElement element) throws JavaModelException { if (element.getElementType() == IJavaElement.JAVA_PROJECT) { return getProjectJavadocLocation((IJavaProject) element); }  IPackageFragmentRoot root= JavaModelUtil.getPackageFragmentRoot(element); if (root == null) { return null; }  if (root.getKind() == IPackageFragmentRoot.K_BINARY) { return getLibraryJavadocLocation(root.getPath()); } else { return getProjectJavadocLocation(root.getJavaProject()); }
private static URL getJavadocBaseLocation(IPath path) { return (URL) getJavaDocLocations().get(path);
	public static URL getJavadocBaseLocation(IJavaElement element) throws JavaModelException {			if (element.getElementType() == IJavaElement.JAVA_PROJECT) {			return getProjectJavadocLocation((IJavaProject) element);		}				IPackageFragmentRoot root= JavaModelUtil.getPackageFragmentRoot(element);		if (root == null) {			return null;		}		if (root.getKind() == IPackageFragmentRoot.K_BINARY) {			return getLibraryJavadocLocation(root.getPath());		} else {			return getProjectJavadocLocation(root.getJavaProject());		}		}