code: public Writer getFileObjectWriterInClassOutput(String pkg, String name) throws IOException {
  		FileObject resource = filer.createResource(StandardLocation.CLASS_OUTPUT, pkg, name);
  		return resource.openWriter();
  	}
docs: Create writer for write a/b/name file if pkg = a.b
  this in classoutput directory
  @param pkg
  @param name
  @return
  @throws IOException