code: protected List<File> getRecursiveThriftFiles(MavenProject project, String outputDirectory) throws IOException {
      return getRecursiveThriftFiles(project, outputDirectory, new ArrayList<File>());
    }
docs: Walk project references recursively, building up a list of thrift files they provide, starting
  with an empty file list.