private static List<IFolder> getSubFolders(IFolder folder) throws CoreException {
		List<IFolder> subFolders = new ArrayList<>();
		if (folder.exists()) {
			for (IResource resource : folder.members()) {
				if (resource.getType() == IResource.FOLDER) {
					subFolders.add(folder.getFolder(resource.getName()));
				}
			}
		}

		return subFolders;
	}
Gets a {@link List} of sub-folders

@param folder The folder to get the sub-folders of
@return A {@link List} of 
@throws CoreException If there was an Eclipse-related problem getting the sub-folders
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/utils/GhidraModuleUtils.java