private void writeLinesFrom(Iterable<String> services) throws IOException {
      FileObject resource = getFiler().createResource(StandardLocation.CLASS_OUTPUT, key.packageName, key.relativeName);
      try (Writer w = resource.openWriter()) {
        for (String line : services) {
          w.write(line);
          w.write('\n');
        }
      }
    }
Pragma-like comment indicator just at beginning of the source file used to disable import
post-processing.
generator/src/org/immutables/generator/Output.java