code: public static String toClause(List<String> packages) {
          return Joiner.on(", ").skipNulls().join(packages);
      }
docs: Computes the BND clause from the given set of packages.
  
  @param packages the packages
  @return the clause