private static List<IClasspathEntry> getGhidraLibraryClasspathEntries(
			GhidraApplicationLayout ghidraLayout) throws FileNotFoundException {

		IClasspathAttribute ghidraJavadocAttr = getGhidraJavadoc(ghidraLayout);
		List<IClasspathEntry> classpathEntries = new ArrayList<>();
		for (GModule module : ghidraLayout.getModules().values()) {
			File moduleDir = module.getModuleRoot().getFile(false);
			File libDir = new File(moduleDir, "lib");
			if (!libDir.isDirectory()) {
				continue;
			}
			for (File f : libDir.listFiles()) { // assuming no relevant subdirs exist in lib/
				String name = f.getName();
				if (!name.endsWith(".jar")) {
					continue;
				}

				IPath jarPath = new Path(f.getAbsolutePath());

				String baseJarName = name.substring(0, name.length() - 4);
				File srcZipFile = new File(libDir, baseJarName + "-src.zip");
				IPath srcPath = srcZipFile.exists() ? new Path(srcZipFile.getAbsolutePath()) : null;

				classpathEntries.add(JavaCore.newLibraryEntry(jarPath, srcPath, null, null,
					new IClasspathAttribute[] { ghidraJavadocAttr }, false));
			}
		}
		return classpathEntries;
	}
Gets a list of classpath entries for Ghidra's module libraries.

@param ghidraLayout The Ghidra layout that contains the classpath entries to get.
@return A list of classpath entries for Ghidra's module libraries.
@throws FileNotFoundException If the javadoc was not found in the provided layout.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/utils/GhidraProjectUtils.java