public final Collection getDependencies(final List<? extends T> entries) {
    final Set deps = new HashSet();
    for (T et : entries) {
      deps.addAll(getDependencies(et));
    }
    return deps;
  }
public final Collection getDependencies(final List<? extends T> entries)