protected List<DomainFolder> getLibrarySearchFolders(List<Loaded<Program>> loadedPrograms,
			Project project, List<Option> options, MessageLog log) {
		List<DomainFolder> searchFolders = new ArrayList<>();
		String projectFolderPath = loadedPrograms.get(0).getProjectFolderPath();
		String destPath = getLibraryDestinationFolderPath(project, projectFolderPath, options);
		DomainFolder destSearchFolder =
			getLibraryDestinationSearchFolder(project, destPath, options);
		DomainFolder linkSearchFolder = getLinkSearchFolder(project,
			loadedPrograms.getFirst().getDomainObject(), projectFolderPath, options, log);
		Optional.ofNullable(destSearchFolder).ifPresent(searchFolders::add);
		Optional.ofNullable(linkSearchFolder).ifPresent(searchFolders::add);
		return searchFolders;
	}
Gets a {@link List} of library search {@link DomainFolder folders} based on the current
options

@param loadedPrograms the list of {@link Loaded} {@link Program}s
@param project The {@link Project} to load into. Could be null if there is no project.
@param options The {@link List} of {@link Option}s
@param log The log
@return A {@link List} of library search {@link DomainFolder folders} based on the current
options
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/AbstractLibrarySupportLoader.java