private static IClasspathAttribute getGhidraJavadoc(GhidraApplicationLayout ghidraLayout)
			throws FileNotFoundException {
		File ghidraInstallDir = ghidraLayout.getApplicationInstallationDir().getFile(false);
		File ghidraJavadocFile = new File(ghidraInstallDir, "docs/GhidraAPI_javadoc.zip");
		if (!ghidraJavadocFile.isFile()) {
			throw new FileNotFoundException("Ghidra javadoc file does not exist!");
		}
		String ghidraJavadocPath = String.format("jar:file:%s%s!/api/",
			(ghidraJavadocFile.getAbsolutePath().startsWith("/") ? "" : "/"),
			ghidraJavadocFile.getAbsolutePath());
		return JavaCore.newClasspathAttribute("javadoc_location", ghidraJavadocPath);
	}
Gets the appropriate classpath attribute for Ghidra's javadoc in the provided layout.
 
@param ghidraLayout The Ghidra layout that contains the javadoc to get.
@return The appropriate classpath attribute for Ghidra's javadoc in the provided layout.
@throws FileNotFoundException If the javadoc was not found in the provided layout.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/utils/GhidraProjectUtils.java