code: public static void writeHeader(final VcfHeader header, final PrintWriter writer) {
          checkNotNull(header);
          checkNotNull(writer);
  
          for (String meta : header.getMeta()) {
              writer.println(meta);
          }
      }
docs: Write VCF header with the specified print writer.
  
  @param header VCF header, must not be null
  @param writer print writer to write VCF with, must not be null